[toolchain/gcc/linaro]: add armv4 fixup patches
[openwrt.git] / toolchain / gcc / patches / 4.5.1+l / 830-arm_unbreak_armv4t.patch
1 http://sourceware.org/ml/crossgcc/2008-05/msg00009.html
2
3 diff -Nura gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h gcc-4.5.1/gcc/config/arm/linux-eabi.h
4 --- gcc-4.5.1.orig/gcc/config/arm/linux-eabi.h 2009-10-30 17:03:09.000000000 -0300
5 +++ gcc-4.5.1/gcc/config/arm/linux-eabi.h 2010-11-02 15:38:25.792208500 -0300
6 @@ -44,7 +44,7 @@
7 The ARM10TDMI core is the default for armv5t, so set
8 SUBTARGET_CPU_DEFAULT to achieve this. */
9 #undef SUBTARGET_CPU_DEFAULT
10 -#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
11 +#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
12
13 /* TARGET_BIG_ENDIAN_DEFAULT is set in
14 config.gcc for big endian configurations. */
This page took 0.039214 seconds and 5 git commands to generate.