Changeset 30969


Ignore:
Timestamp:
2012-03-18T11:55:47+01:00 (6 years ago)
Author:
juhosg
Message:

toolchain/gcc-4.6-linaro: fix v4bx patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/toolchain/gcc/patches/4.6-linaro/840-armv4_pass_fix-v4bx_to_ld.patch

    r27333 r30969  
    11--- a/gcc/config/arm/linux-eabi.h 
    22+++ b/gcc/config/arm/linux-eabi.h 
    3 @@ -64,12 +64,16 @@ 
     3@@ -64,10 +64,15 @@ 
    44 #undef  GLIBC_DYNAMIC_LINKER 
    55 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" 
     
    77+/* For armv4 we pass --fix-v4bx to linker to support EABI */ 
    88+#undef TARGET_FIX_V4BX_SPEC 
    9 +#define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*|march=armv4:--fix-v4bx}" 
     9+#define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*"\ 
     10+  "|march=armv4|mcpu=fa526|mcpu=fa626:--fix-v4bx}" 
    1011+ 
    1112 /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to 
    1213    use the GNU/Linux version, not the generic BPABI version.  */ 
    1314 #undef  LINK_SPEC 
    14  #define LINK_SPEC BE8_LINK_SPEC                                                \ 
     15-#define LINK_SPEC BE8_LINK_SPEC                                                \ 
     16+#define LINK_SPEC BE8_LINK_SPEC TARGET_FIX_V4BX_SPEC                   \ 
    1517   LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC,                         \ 
    16 -                      LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) 
    17 +                      LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)    \ 
     18                       LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) 
    1819  
    19  #undef  CC1_SPEC 
    20  #define CC1_SPEC                                                       \ 
Note: See TracChangeset for help on using the changeset viewer.