blob: 7b29eaf200e0cd7102f705143dac934172c3b686 [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---
Patrick Williams520786c2023-06-25 16:20:36 -050012Upstream-Status: Pending
13
Brad Bishop19323692019-04-05 15:28:33 -040014 usr/klibc/arch/arm/MCONFIG | 1 +
15 1 file changed, 1 insertion(+)
16
17--- a/usr/klibc/arch/arm/MCONFIG
18+++ b/usr/klibc/arch/arm/MCONFIG
Andrew Geissler20137392023-10-12 04:59:14 -060019@@ -23,6 +23,7 @@ else
20 # Extra linkflags when building the shared version of the library
Brad Bishop19323692019-04-05 15:28:33 -040021 ifeq ($(CONFIG_AEABI),y)
22 KLIBCREQFLAGS += -mabi=aapcs-linux -mno-thumb-interwork
23+KLIBCLDFLAGS += $(FIX_ARMV4_EABI_BX)
24 else
25 KLIBCREQFLAGS += -mabi=apcs-gnu -mno-thumb-interwork
26 endif