aboutsummaryrefslogtreecommitdiff
path: root/4.3.2
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-01-10 11:22:36 +0000
committerMike Frysinger <vapier@gentoo.org>2009-01-10 11:22:36 +0000
commit0fb28c967c6a5b42f619614d34e37a45a1aeb405 (patch)
treed3a30ca2c7643ce64091271724afadb4ef69130f /4.3.2
parentadd fix from upstream for delay slot issues #228287 (diff)
downloadgcc-patches-0fb28c967c6a5b42f619614d34e37a45a1aeb405.tar.gz
gcc-patches-0fb28c967c6a5b42f619614d34e37a45a1aeb405.tar.bz2
gcc-patches-0fb28c967c6a5b42f619614d34e37a45a1aeb405.zip
add fix for armv4t eabi #245315
Diffstat (limited to '4.3.2')
-rw-r--r--4.3.2/gentoo/47_all_arm-unbreak-armv4t.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/4.3.2/gentoo/47_all_arm-unbreak-armv4t.patch b/4.3.2/gentoo/47_all_arm-unbreak-armv4t.patch
new file mode 100644
index 0000000..123c751
--- /dev/null
+++ b/4.3.2/gentoo/47_all_arm-unbreak-armv4t.patch
@@ -0,0 +1,15 @@
+http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
+
+gcc defaults to armv5t for all targets even armv4t
+
+--- gcc/config/arm/linux-eabi.h
++++ gcc/config/arm/linux-eabi.h
+@@ -45,7 +45,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. */