In R27118, TARGET_FIX_V4BX_SPEC got lost in the linker parameters. Add it back.
authorImre Kaloz <kaloz@openwrt.org>
Tue, 12 Jul 2011 13:34:18 +0000 (13:34 +0000)
committerImre Kaloz <kaloz@openwrt.org>
Tue, 12 Jul 2011 13:34:18 +0000 (13:34 +0000)
Signed-off-by: Jochen Friedrich <jochen@scram.de>
SVN-Revision: 27599

toolchain/gcc/patches/linaro/840-armv4_pass_fix-v4bx_to_ld.patch

index 41b790a22d4ac0ff7ace3f6dccbb16be2704be04..8800c03c93d8e6c41e305426f0d09b35d0159527 100644 (file)
  /* At this point, bpabi.h will have clobbered LINK_SPEC.  We want to
     use the GNU/Linux version, not the generic BPABI version.  */
  #undef  LINK_SPEC
- #define LINK_SPEC BE8_LINK_SPEC                                               \
+-#define LINK_SPEC BE8_LINK_SPEC                                               \
++#define LINK_SPEC BE8_LINK_SPEC TARGET_FIX_V4BX_SPEC                          \
    LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC,                                \
--                     LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)
-+                     LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)    \
+                      LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)
  
  #undef  CC1_SPEC
  #define CC1_SPEC                                              \