add gcc eabi patches from #3988
[openwrt/svn-archive/archive.git] / toolchain / gcc / patches / 4.1.2 / 850-unbreak-armv4t.patch
1 --- a/gcc/config/arm/linux-eabi.h
2 +++ b/gcc/config/arm/linux-eabi.h
3 @@ -45,7 +45,7 @@
4 The ARM10TDMI core is the default for armv5t, so set
5 SUBTARGET_CPU_DEFAULT to achieve this. */
6 #undef SUBTARGET_CPU_DEFAULT
7 -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
8 +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
9
10 #undef SUBTARGET_EXTRA_LINK_SPEC
11 #define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"