8e3d18ae5442dd4ac7cd3321083b7f284918587d
[openwrt.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 @@ -56,7 +56,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 " TARGET_LINKER_EMULATION