diff options
Diffstat (limited to 'meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/armv4-fix-v4bx.patch')
-rw-r--r-- | meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/armv4-fix-v4bx.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/armv4-fix-v4bx.patch b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/armv4-fix-v4bx.patch new file mode 100644 index 000000000..6bb384bb0 --- /dev/null +++ b/meta-initramfs/recipes-devtools/klibc/klibc-2.0.2/armv4-fix-v4bx.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Status: not applicable upstream, in OE/Yocto we use $(FIX_V4BX) | ||
2 | which is "" in case of armv5 or thumbs. | ||
3 | |||
4 | Signed-off-by: Andrea Adami <andrea.adami@gmail.com> | ||
5 | |||
6 | --- a/usr/klibc/arch/arm/MCONFIG 2013-01-09 01:12:02.000000000 +0100 | ||
7 | +++ b/usr/klibc/arch/arm/MCONFIG 2013-01-08 23:45:59.000000000 +0100 | ||
8 | @@ -29,6 +29,7 @@ | ||
9 | KLIBCSHAREDFLAGS = -Ttext 0x01800200 | ||
10 | ifeq ($(CONFIG_AEABI),y) | ||
11 | KLIBCREQFLAGS += -mabi=aapcs-linux -mno-thumb-interwork | ||
12 | +KLIBCLDFLAGS += $(FIX_ARMV4_EABI_BX) | ||
13 | else | ||
14 | KLIBCREQFLAGS += -mabi=apcs-gnu -mno-thumb-interwork | ||
15 | endif | ||