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/detect-bx-availibility.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/detect-bx-availibility.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/detect-bx-availibility.patch | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/detect-bx-availibility.patch b/meta/recipes-core/uclibc/uclibc-git/detect-bx-availibility.patch new file mode 100644 index 0000000000..c5d212a642 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/detect-bx-availibility.patch | |||
@@ -0,0 +1,75 @@ | |||
1 | Delivered-To: raj.khem@gmail.com | ||
2 | Received: by 10.90.86.4 with SMTP id j4cs313307agb; | ||
3 | Sat, 8 Jan 2011 16:45:20 -0800 (PST) | ||
4 | Received: by 10.227.141.78 with SMTP id l14mr16920947wbu.128.1294533919168; | ||
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 w30si33755908wbd.17.2011.01.08.16.45.18; | ||
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 tClC1f0024v5z3u03ClHDo; 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 6/7] ARM: detect BX availibility at build time | ||
21 | Date: Sun, 9 Jan 2011 01:45:09 +0100 | ||
22 | Message-Id: <1294533910-19305-7-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 | The "use BX" option is now a suggestion that BX be used if available. | ||
28 | Use a macro to detect if BX is available at build time. If so, and | ||
29 | the user requested it be used, then use it. Otherwise, error out. | ||
30 | |||
31 | Macro courtesy Khem RAJ: | ||
32 | http://lists.uclibc.org/pipermail/uclibc/2009-April/042301.html | ||
33 | |||
34 | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | ||
35 | Cc: Khem Raj <raj.khem@gmail.com> | ||
36 | Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | ||
37 | Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> | ||
38 | --- | ||
39 | extra/Configs/Config.arm | 4 +++- | ||
40 | libc/sysdeps/linux/arm/bits/arm_asm.h | 9 ++++++++- | ||
41 | 2 files changed, 11 insertions(+), 2 deletions(-) | ||
42 | |||
43 | diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm | ||
44 | index 227b90c..9aa9e56 100644 | ||
45 | --- a/extra/Configs/Config.arm | ||
46 | +++ b/extra/Configs/Config.arm | ||
47 | @@ -33,4 +33,6 @@ config COMPILE_IN_THUMB_MODE | ||
48 | config USE_BX | ||
49 | bool "Use BX in function return" | ||
50 | help | ||
51 | - Use BX instruction for THUMB aware architectures. | ||
52 | + Say 'y' to use BX to return from functions on your thumb-aware | ||
53 | + processor. Say 'y' if you need to use interworking. Say 'n' if not. | ||
54 | + It is safe to say 'y' even if you're not doing interworking. | ||
55 | diff --git a/libc/sysdeps/linux/arm/bits/arm_asm.h b/libc/sysdeps/linux/arm/bits/arm_asm.h | ||
56 | index 1d87df6..921c9a3 100644 | ||
57 | --- a/libc/sysdeps/linux/arm/bits/arm_asm.h | ||
58 | +++ b/libc/sysdeps/linux/arm/bits/arm_asm.h | ||
59 | @@ -24,5 +24,12 @@ | ||
60 | #define THUMB1_ONLY 1 | ||
61 | #endif | ||
62 | |||
63 | -#endif /* _ARM_ASM_H */ | ||
64 | +#if defined(__USE_BX__) | ||
65 | +# if ( defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \ | ||
66 | + || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \ | ||
67 | + ) | ||
68 | +# error Use of BX was requested, but is not available on the target processor. | ||
69 | +# endif /* ARCH level */ | ||
70 | +#endif /* __USE_BX__ */ | ||
71 | |||
72 | +#endif /* _ARM_ASM_H */ | ||
73 | -- | ||
74 | 1.7.1 | ||
75 | |||