summaryrefslogtreecommitdiffstats
path: root/meta-initramfs/recipes-devtools/klibc/klibc-2.0.4/armv4-fix-v4bx.patch
blob: e8423530614232c9294b22a852214404ce3a017f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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>

---
 usr/klibc/arch/arm/MCONFIG | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr/klibc/arch/arm/MCONFIG b/usr/klibc/arch/arm/MCONFIG
index 53bc1dc..303c6ac 100644
--- a/usr/klibc/arch/arm/MCONFIG
+++ b/usr/klibc/arch/arm/MCONFIG
@@ -29,6 +29,7 @@ else
 KLIBCSHAREDFLAGS = -Ttext 0x01800200
 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