diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-05-22 12:02:12 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-05-23 15:53:28 +0100 |
commit | 4ea8b2fde48134dd58a9876c9ddc21b4b51e78f2 (patch) | |
tree | f0bdb225cabf12d58369be1514cd641ebf05341d /meta/recipes-core/uclibc/uclibc-git/remove-eabi-oabi-selection.patch | |
parent | ed6f039bca9bd8da640ba8c76a4751bc818a091b (diff) | |
download | poky-4ea8b2fde48134dd58a9876c9ddc21b4b51e78f2.tar.gz |
uclibc: Upgrade to 0.9.32-rc3
Bring in the uclibc recipes from meta-oe they have been well
tested by now.
Delete 0.9.30.1 recipes
(From OE-Core rev: ac60a936e737680c16b287a3dab6aa285d87c5c0)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/remove-eabi-oabi-selection.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/remove-eabi-oabi-selection.patch | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/remove-eabi-oabi-selection.patch b/meta/recipes-core/uclibc/uclibc-git/remove-eabi-oabi-selection.patch new file mode 100644 index 0000000000..f4957351e9 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/remove-eabi-oabi-selection.patch | |||
@@ -0,0 +1,91 @@ | |||
1 | Delivered-To: raj.khem@gmail.com | ||
2 | Received: by 10.90.86.4 with SMTP id j4cs313309agb; | ||
3 | Sat, 8 Jan 2011 16:45:20 -0800 (PST) | ||
4 | Received: by 10.216.173.7 with SMTP id u7mr612034wel.50.1294533919433; | ||
5 | Sat, 08 Jan 2011 16:45:19 -0800 (PST) | ||
6 | Return-Path: <yann.morin.1998@anciens.enib.fr> | ||
7 | Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) | ||
8 | by mx.google.com with ESMTP id e10si33752027wer.68.2011.01.08.16.45.19; | ||
9 | Sat, 08 Jan 2011 16:45:19 -0800 (PST) | ||
10 | Received-SPF: neutral (google.com: 80.12.242.123 is neither permitted nor denied by best guess record for domain of yann.morin.1998@anciens.enib.fr) client-ip=80.12.242.123; | ||
11 | Authentication-Results: mx.google.com; spf=neutral (google.com: 80.12.242.123 is neither permitted nor denied by best guess record for domain of yann.morin.1998@anciens.enib.fr) smtp.mail=yann.morin.1998@anciens.enib.fr | ||
12 | Received: from roazhon.bzh.lan ([90.32.245.227]) | ||
13 | by mwinf5d24 with ME | ||
14 | id tClC1f0024v5z3u03ClJDu; Sun, 09 Jan 2011 01:45:18 +0100 | ||
15 | From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | ||
16 | To: uclibc@uclibc.org | ||
17 | Cc: Khem Raj <raj.khem@gmail.com>, | ||
18 | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, | ||
19 | Carmelo AMOROSO <carmelo.amoroso@st.com> | ||
20 | Subject: [PATCH 7/7] ARM: remove EABI/OABI selection | ||
21 | Date: Sun, 9 Jan 2011 01:45:10 +0100 | ||
22 | Message-Id: <1294533910-19305-8-git-send-email-yann.morin.1998@anciens.enib.fr> | ||
23 | X-Mailer: git-send-email 1.7.1 | ||
24 | In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> | ||
25 | References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> | ||
26 | |||
27 | Rely on the compiler to be properly setup for the default ABI. | ||
28 | |||
29 | When installing-headers, there are two cases: | ||
30 | - NPTL: no issue, a cross-compiler is already expected | ||
31 | - LinuxThreads: no issue, EABI/OABI has no impact on installed headers. | ||
32 | |||
33 | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | ||
34 | Cc: Khem Raj <raj.khem@gmail.com> | ||
35 | Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||
36 | Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> | ||
37 | --- | ||
38 | extra/Configs/Config.arm | 11 ----------- | ||
39 | libc/sysdeps/linux/arm/Makefile.arch | 9 +++++++-- | ||
40 | libc/sysdeps/linux/arm/bits/huge_val.h | 4 ++-- | ||
41 | 3 files changed, 9 insertions(+), 15 deletions(-) | ||
42 | |||
43 | Index: git/libc/sysdeps/linux/arm/Makefile.arch | ||
44 | =================================================================== | ||
45 | --- git.orig/libc/sysdeps/linux/arm/Makefile.arch | ||
46 | +++ git/libc/sysdeps/linux/arm/Makefile.arch | ||
47 | @@ -24,7 +24,12 @@ ifeq ($(UCLIBC_HAS_ADVANCED_REALTIME),y) | ||
48 | CSRC += posix_fadvise.c posix_fadvise64.c | ||
49 | endif | ||
50 | |||
51 | -ifeq ($(CONFIG_ARM_EABI),y) | ||
52 | +# Is our compiler set up for EABI ? | ||
53 | +IS_EABI:=$(shell $(CC) $(CFLAGS) -x c - -E -dM </dev/null 2>/dev/null \ | ||
54 | + |sed -r -e '/^\#[[:space:]]*define[[:space:]]+__ARM_EABI__([[:space:]]+1)?$$/!d; s/.+/y/;' \ | ||
55 | + ) | ||
56 | + | ||
57 | +ifeq ($(IS_EABI),y) | ||
58 | CSRC += aeabi_assert.c aeabi_atexit.c aeabi_errno_addr.c \ | ||
59 | aeabi_localeconv.c aeabi_memclr.c aeabi_memcpy.c \ | ||
60 | aeabi_memmove.c aeabi_memset.c find_exidx.c | ||
61 | @@ -37,7 +42,7 @@ else | ||
62 | CSRC += syscall.c | ||
63 | endif | ||
64 | |||
65 | -ifeq ($(CONFIG_ARM_EABI),y) | ||
66 | +ifeq ($(IS_EABI),y) | ||
67 | libc-static-y += $(ARCH_OUT)/aeabi_lcsts.o $(ARCH_OUT)/aeabi_math.o \ | ||
68 | $(ARCH_OUT)/aeabi_sighandlers.o | ||
69 | libc-nonshared-y += $(ARCH_OUT)/aeabi_lcsts.os $(ARCH_OUT)/aeabi_math.os \ | ||
70 | Index: git/libc/sysdeps/linux/arm/bits/huge_val.h | ||
71 | =================================================================== | ||
72 | --- git.orig/libc/sysdeps/linux/arm/bits/huge_val.h | ||
73 | +++ git/libc/sysdeps/linux/arm/bits/huge_val.h | ||
74 | @@ -32,7 +32,7 @@ | ||
75 | # define HUGE_VAL (__extension__ 0x1.0p2047) | ||
76 | #elif defined __GNUC__ | ||
77 | |||
78 | -#ifndef __CONFIG_ARM_EABI__ | ||
79 | +#ifndef __ARM_EABI__ | ||
80 | # define HUGE_VAL \ | ||
81 | (__extension__ \ | ||
82 | ((union { unsigned __l __attribute__((__mode__(__DI__))); double __d; }) \ | ||
83 | @@ -50,7 +50,7 @@ | ||
84 | |||
85 | typedef union { unsigned char __c[8]; double __d; } __huge_val_t; | ||
86 | |||
87 | -#ifndef __CONFIG_ARM_EABI__ | ||
88 | +#ifndef __ARM_EABI__ | ||
89 | # if __BYTE_ORDER == __BIG_ENDIAN | ||
90 | # define __HUGE_VAL_bytes { 0, 0, 0, 0, 0x7f, 0xf0, 0, 0 } | ||
91 | # endif | ||