blob: 7b29eaf200e0cd7102f705143dac934172c3b686 [file] [log] [blame]
From d2fb484d995221277cce7abddcd7dfa0e8bceec3 Mon Sep 17 00:00:00 2001
From: Andrea Adami <andrea.adami@gmail.com>
Date: Fri, 11 Jan 2013 17:26:40 +0000
Subject: [PATCH] klibc_2.0.2: apply FIX_V4BX patch for armv4 targets only
Status: not applicable upstream, in OE/Yocto we use $(FIX_V4BX)
which is "" in case of armv5 or thumbs.
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
---
Upstream-Status: Pending
usr/klibc/arch/arm/MCONFIG | 1 +
1 file changed, 1 insertion(+)
--- a/usr/klibc/arch/arm/MCONFIG
+++ b/usr/klibc/arch/arm/MCONFIG
@@ -23,6 +23,7 @@ else
# Extra linkflags when building the shared version of the library
ifeq ($(CONFIG_AEABI),y)
KLIBCREQFLAGS += -mabi=aapcs-linux -mno-thumb-interwork
+KLIBCLDFLAGS += $(FIX_ARMV4_EABI_BX)
else
KLIBCREQFLAGS += -mabi=apcs-gnu -mno-thumb-interwork
endif