Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | From d2fb484d995221277cce7abddcd7dfa0e8bceec3 Mon Sep 17 00:00:00 2001 |
| 2 | From: Andrea Adami <andrea.adami@gmail.com> |
| 3 | Date: Fri, 11 Jan 2013 17:26:40 +0000 |
| 4 | Subject: [PATCH] klibc_2.0.2: apply FIX_V4BX patch for armv4 targets only |
| 5 | |
| 6 | Status: not applicable upstream, in OE/Yocto we use $(FIX_V4BX) |
| 7 | which is "" in case of armv5 or thumbs. |
| 8 | |
| 9 | Signed-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 |