summaryrefslogtreecommitdiff
path: root/toolchain/gcc/4.6.0/820-arm-unbreak-armv4t.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-04-13 13:29:29 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-04-26 22:46:59 +0200
commitf8fe67e12ebe3429ac5bb9b8e0be6d2e30cc1449 (patch)
treeeb8ae34befeebd2122a39001c33f7eae42878a81 /toolchain/gcc/4.6.0/820-arm-unbreak-armv4t.patch
parent243e4edc748b26f9a713bc268e5b7a6ff7d15956 (diff)
toolchain: add gcc 4.6.0
Add gcc 4.6.0 to the toolchain repertoire: Target gcc is known to be broken in some scenarios. This version is considered experimental so things may break. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'toolchain/gcc/4.6.0/820-arm-unbreak-armv4t.patch')
-rw-r--r--toolchain/gcc/4.6.0/820-arm-unbreak-armv4t.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/toolchain/gcc/4.6.0/820-arm-unbreak-armv4t.patch b/toolchain/gcc/4.6.0/820-arm-unbreak-armv4t.patch
new file mode 100644
index 000000000..8651afcd8
--- /dev/null
+++ b/toolchain/gcc/4.6.0/820-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. */