summaryrefslogtreecommitdiff
path: root/toolchain/gcc/patches/4.5.1+l/830-arm_unbreak_armv4t.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-02-02 19:34:36 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-02-02 19:34:36 +0000
commit7edc8ca5456d9743dd0075eb3cc5b04f4f24c8cc (patch)
tree5b9f7cb5e401b2b16c47ffe0a1b88d11bfcfc7a2 /toolchain/gcc/patches/4.5.1+l/830-arm_unbreak_armv4t.patch
parentb435f9d603c5ba47abf331b4104bfe2dd7dbfd54 (diff)
downloadmtk-20170518-7edc8ca5456d9743dd0075eb3cc5b04f4f24c8cc.zip
mtk-20170518-7edc8ca5456d9743dd0075eb3cc5b04f4f24c8cc.tar.gz
mtk-20170518-7edc8ca5456d9743dd0075eb3cc5b04f4f24c8cc.tar.bz2
add armv4 fixup patches
SVN-Revision: 25322
Diffstat (limited to 'toolchain/gcc/patches/4.5.1+l/830-arm_unbreak_armv4t.patch')
-rw-r--r--toolchain/gcc/patches/4.5.1+l/830-arm_unbreak_armv4t.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/gcc/patches/4.5.1+l/830-arm_unbreak_armv4t.patch b/toolchain/gcc/patches/4.5.1+l/830-arm_unbreak_armv4t.patch
new file mode 100644
index 0000000..8651afc
--- /dev/null
+++ b/toolchain/gcc/patches/4.5.1+l/830-arm_unbreak_armv4t.patch
@@ -0,0 +1,14 @@
+http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
+
+diff -Nura gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h gcc-4.5.1/gcc/config/arm/linux-eabi.h
+--- gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h 2009-10-30 17:03:09.000000000 -0300
++++ gcc-4.5.1/gcc/config/arm/linux-eabi.h 2010-11-02 15:38:25.792208500 -0300
+@@ -44,7 +44,7 @@
+ The ARM10TDMI core is the default for armv5t, so set
+ SUBTARGET_CPU_DEFAULT to achieve this. */
+ #undef SUBTARGET_CPU_DEFAULT
+-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
++#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
+
+ /* TARGET_BIG_ENDIAN_DEFAULT is set in
+ config.gcc for big endian configurations. */