source: trunk/toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch @ 27326

Last change on this file since 27326 was 27326, checked in by kaloz, 5 years ago

[toolchain/gcc]: upgrade the linaro gcc to 2011.06

File size: 768 bytes
  • gcc/config/arm/linux-eabi.h

    a b  
    6363#undef  GLIBC_DYNAMIC_LINKER 
    6464#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.3" 
    6565 
     66/* For armv4 we pass --fix-v4bx to linker to support EABI */ 
     67#undef TARGET_FIX_V4BX_SPEC 
     68#define TARGET_FIX_V4BX_SPEC " %{mcpu=arm8|mcpu=arm810|mcpu=strongarm*|march=armv4:--fix-v4bx}" 
     69 
    6670/* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to 
    6771   use the GNU/Linux version, not the generic BPABI version.  */ 
    6872#undef  LINK_SPEC 
    6973#define LINK_SPEC BE8_LINK_SPEC                                         \ 
    7074  LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC,                          \ 
    71                        LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC) 
     75                       LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)    \ 
    7276 
    7377#undef  CC1_SPEC 
    7478#define CC1_SPEC                                                \ 
Note: See TracBrowser for help on using the repository browser.