blob: 4a334fa252e8b9a7e5b49626e40b620e9b4a8013 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From d2fb484d995221277cce7abddcd7dfa0e8bceec3 Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Fri, 11 Jan 2013 17:26:40 +0000
4Subject: [PATCH] klibc_2.0.2: apply FIX_V4BX patch for armv4 targets only
5
6Status: not applicable upstream, in OE/Yocto we use $(FIX_V4BX)
7which is "" in case of armv5 or thumbs.
8
9Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
10
11---
12 usr/klibc/arch/arm/MCONFIG | 1 +
13 1 file changed, 1 insertion(+)
14
15--- a/usr/klibc/arch/arm/MCONFIG
16+++ b/usr/klibc/arch/arm/MCONFIG
17@@ -29,6 +29,7 @@ else
18 KLIBCSHAREDFLAGS = -Ttext-segment 0x01800000
19 ifeq ($(CONFIG_AEABI),y)
20 KLIBCREQFLAGS += -mabi=aapcs-linux -mno-thumb-interwork
21+KLIBCLDFLAGS += $(FIX_ARMV4_EABI_BX)
22 else
23 KLIBCREQFLAGS += -mabi=apcs-gnu -mno-thumb-interwork
24 endif