summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-4.1.2/unbreak-armv4t.patch
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2007-03-07 02:48:30 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2007-03-07 02:48:30 +0000
commit82f522e25a15d4a3bb992e25cf2d72524e00aee3 (patch)
tree6df1d9b7cf94cb5192ea66fb8eceaecf43058280 /packages/gcc/gcc-4.1.2/unbreak-armv4t.patch
parent95ab40dfc8bbb89f1579b5b5e2167459c97fcf8f (diff)
parenta4f387cd021a1609192a230ac88147bdd9cd7011 (diff)
merge of '8641efcbdf45be9e288119393a9b475e46f9c515'
and 'b0f962e1665b2f7f0c836386fa0e1e6e3bf6c376'
Diffstat (limited to 'packages/gcc/gcc-4.1.2/unbreak-armv4t.patch')
-rw-r--r--packages/gcc/gcc-4.1.2/unbreak-armv4t.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gcc/gcc-4.1.2/unbreak-armv4t.patch b/packages/gcc/gcc-4.1.2/unbreak-armv4t.patch
new file mode 100644
index 0000000000..b3399abfdb
--- /dev/null
+++ b/packages/gcc/gcc-4.1.2/unbreak-armv4t.patch
@@ -0,0 +1,12 @@
+diff -urN gcc-4.1.1/gcc/config/arm/linux-eabi.h gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h
+--- gcc-4.1.1/gcc/config/arm/linux-eabi.h 2006-10-22 11:11:49.000000000 -0700
++++ gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h 2006-10-24 21:34:01.000000000 -0700
+@@ -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
+
+ #undef SUBTARGET_EXTRA_LINK_SPEC
+ #define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"