8651afcd86ef83a3734704efcf39b520e9483f3e
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gcc / 4.5.4 / 820-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.  */