summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/uclibc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-22 10:04:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-22 10:04:04 +0100
commitc9c14a198de1b44462184c03bc3f9be4848adfd8 (patch)
tree24a8a031b89da6af317bc8dd44c37a3e8ed3e0fe /meta/recipes-core/uclibc
parente803c58ffb05e6d1f5938f1bfe6dfca9e3c26e02 (diff)
downloadpoky-c9c14a198de1b44462184c03bc3f9be4848adfd8.tar.gz
Sync patches with DOS line endings that became corrupted
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/uclibc')
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.32/detect-bx-availibility.patch150
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.32/include-arm-asm.h.patch130
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.32/remove-eabi-oabi-selection.patch84
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.32/remove-sub-arch-variants.patch430
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.32/select-force-thumb.patch344
-rw-r--r--meta/recipes-core/uclibc/uclibc-0.9.32/transform-eabi-oabi-choice.patch72
6 files changed, 605 insertions, 605 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.32/detect-bx-availibility.patch b/meta/recipes-core/uclibc/uclibc-0.9.32/detect-bx-availibility.patch
index c5d212a642..43d19fcf10 100644
--- a/meta/recipes-core/uclibc/uclibc-0.9.32/detect-bx-availibility.patch
+++ b/meta/recipes-core/uclibc/uclibc-0.9.32/detect-bx-availibility.patch
@@ -1,75 +1,75 @@
1Delivered-To: raj.khem@gmail.com 1Delivered-To: raj.khem@gmail.com
2Received: by 10.90.86.4 with SMTP id j4cs313307agb; 2Received: by 10.90.86.4 with SMTP id j4cs313307agb;
3 Sat, 8 Jan 2011 16:45:20 -0800 (PST) 3 Sat, 8 Jan 2011 16:45:20 -0800 (PST)
4Received: by 10.227.141.78 with SMTP id l14mr16920947wbu.128.1294533919168; 4Received: by 10.227.141.78 with SMTP id l14mr16920947wbu.128.1294533919168;
5 Sat, 08 Jan 2011 16:45:19 -0800 (PST) 5 Sat, 08 Jan 2011 16:45:19 -0800 (PST)
6Return-Path: <yann.morin.1998@anciens.enib.fr> 6Return-Path: <yann.morin.1998@anciens.enib.fr>
7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) 7Received: 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; 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) 9 Sat, 08 Jan 2011 16:45:19 -0800 (PST)
10Received-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; 10Received-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;
11Authentication-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 11Authentication-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
12Received: from roazhon.bzh.lan ([90.32.245.227]) 12Received: from roazhon.bzh.lan ([90.32.245.227])
13 by mwinf5d24 with ME 13 by mwinf5d24 with ME
14 id tClC1f0024v5z3u03ClHDo; Sun, 09 Jan 2011 01:45:18 +0100 14 id tClC1f0024v5z3u03ClHDo; Sun, 09 Jan 2011 01:45:18 +0100
15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
16To: uclibc@uclibc.org 16To: uclibc@uclibc.org
17Cc: Khem Raj <raj.khem@gmail.com>, 17Cc: Khem Raj <raj.khem@gmail.com>,
18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, 18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
19 Carmelo AMOROSO <carmelo.amoroso@st.com> 19 Carmelo AMOROSO <carmelo.amoroso@st.com>
20Subject: [PATCH 6/7] ARM: detect BX availibility at build time 20Subject: [PATCH 6/7] ARM: detect BX availibility at build time
21Date: Sun, 9 Jan 2011 01:45:09 +0100 21Date: Sun, 9 Jan 2011 01:45:09 +0100
22Message-Id: <1294533910-19305-7-git-send-email-yann.morin.1998@anciens.enib.fr> 22Message-Id: <1294533910-19305-7-git-send-email-yann.morin.1998@anciens.enib.fr>
23X-Mailer: git-send-email 1.7.1 23X-Mailer: git-send-email 1.7.1
24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
26 26
27The "use BX" option is now a suggestion that BX be used if available. 27The "use BX" option is now a suggestion that BX be used if available.
28Use a macro to detect if BX is available at build time. If so, and 28Use a macro to detect if BX is available at build time. If so, and
29the user requested it be used, then use it. Otherwise, error out. 29the user requested it be used, then use it. Otherwise, error out.
30 30
31Macro courtesy Khem RAJ: 31Macro courtesy Khem RAJ:
32 http://lists.uclibc.org/pipermail/uclibc/2009-April/042301.html 32 http://lists.uclibc.org/pipermail/uclibc/2009-April/042301.html
33 33
34Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 34Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
35Cc: Khem Raj <raj.khem@gmail.com> 35Cc: Khem Raj <raj.khem@gmail.com>
36Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> 36Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
37Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> 37Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
38--- 38---
39 extra/Configs/Config.arm | 4 +++- 39 extra/Configs/Config.arm | 4 +++-
40 libc/sysdeps/linux/arm/bits/arm_asm.h | 9 ++++++++- 40 libc/sysdeps/linux/arm/bits/arm_asm.h | 9 ++++++++-
41 2 files changed, 11 insertions(+), 2 deletions(-) 41 2 files changed, 11 insertions(+), 2 deletions(-)
42 42
43diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm 43diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
44index 227b90c..9aa9e56 100644 44index 227b90c..9aa9e56 100644
45--- a/extra/Configs/Config.arm 45--- a/extra/Configs/Config.arm
46+++ b/extra/Configs/Config.arm 46+++ b/extra/Configs/Config.arm
47@@ -33,4 +33,6 @@ config COMPILE_IN_THUMB_MODE 47@@ -33,4 +33,6 @@ config COMPILE_IN_THUMB_MODE
48 config USE_BX 48 config USE_BX
49 bool "Use BX in function return" 49 bool "Use BX in function return"
50 help 50 help
51- Use BX instruction for THUMB aware architectures. 51- Use BX instruction for THUMB aware architectures.
52+ Say 'y' to use BX to return from functions on your thumb-aware 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. 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. 54+ It is safe to say 'y' even if you're not doing interworking.
55diff --git a/libc/sysdeps/linux/arm/bits/arm_asm.h b/libc/sysdeps/linux/arm/bits/arm_asm.h 55diff --git a/libc/sysdeps/linux/arm/bits/arm_asm.h b/libc/sysdeps/linux/arm/bits/arm_asm.h
56index 1d87df6..921c9a3 100644 56index 1d87df6..921c9a3 100644
57--- a/libc/sysdeps/linux/arm/bits/arm_asm.h 57--- a/libc/sysdeps/linux/arm/bits/arm_asm.h
58+++ b/libc/sysdeps/linux/arm/bits/arm_asm.h 58+++ b/libc/sysdeps/linux/arm/bits/arm_asm.h
59@@ -24,5 +24,12 @@ 59@@ -24,5 +24,12 @@
60 #define THUMB1_ONLY 1 60 #define THUMB1_ONLY 1
61 #endif 61 #endif
62 62
63-#endif /* _ARM_ASM_H */ 63-#endif /* _ARM_ASM_H */
64+#if defined(__USE_BX__) 64+#if defined(__USE_BX__)
65+# if ( defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \ 65+# if ( defined (__ARM_ARCH_2__) || defined (__ARM_ARCH_3__) \
66+ || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \ 66+ || defined (__ARM_ARCH_3M__) || defined (__ARM_ARCH_4__) \
67+ ) 67+ )
68+# error Use of BX was requested, but is not available on the target processor. 68+# error Use of BX was requested, but is not available on the target processor.
69+# endif /* ARCH level */ 69+# endif /* ARCH level */
70+#endif /* __USE_BX__ */ 70+#endif /* __USE_BX__ */
71 71
72+#endif /* _ARM_ASM_H */ 72+#endif /* _ARM_ASM_H */
73-- 73--
741.7.1 741.7.1
75 75
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.32/include-arm-asm.h.patch b/meta/recipes-core/uclibc/uclibc-0.9.32/include-arm-asm.h.patch
index 621896fb10..55c312e2ca 100644
--- a/meta/recipes-core/uclibc/uclibc-0.9.32/include-arm-asm.h.patch
+++ b/meta/recipes-core/uclibc/uclibc-0.9.32/include-arm-asm.h.patch
@@ -1,65 +1,65 @@
1Delivered-To: raj.khem@gmail.com 1Delivered-To: raj.khem@gmail.com
2Received: by 10.90.86.4 with SMTP id j4cs313304agb; 2Received: by 10.90.86.4 with SMTP id j4cs313304agb;
3 Sat, 8 Jan 2011 16:45:19 -0800 (PST) 3 Sat, 8 Jan 2011 16:45:19 -0800 (PST)
4Received: by 10.227.155.75 with SMTP id r11mr17188266wbw.3.1294533918432; 4Received: by 10.227.155.75 with SMTP id r11mr17188266wbw.3.1294533918432;
5 Sat, 08 Jan 2011 16:45:18 -0800 (PST) 5 Sat, 08 Jan 2011 16:45:18 -0800 (PST)
6Return-Path: <yann.morin.1998@anciens.enib.fr> 6Return-Path: <yann.morin.1998@anciens.enib.fr>
7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) 7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123])
8 by mx.google.com with ESMTP id k3si33753340wbx.29.2011.01.08.16.45.17; 8 by mx.google.com with ESMTP id k3si33753340wbx.29.2011.01.08.16.45.17;
9 Sat, 08 Jan 2011 16:45:18 -0800 (PST) 9 Sat, 08 Jan 2011 16:45:18 -0800 (PST)
10Received-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; 10Received-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;
11Authentication-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 11Authentication-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
12Received: from roazhon.bzh.lan ([90.32.245.227]) 12Received: from roazhon.bzh.lan ([90.32.245.227])
13 by mwinf5d24 with ME 13 by mwinf5d24 with ME
14 id tClC1f0024v5z3u03ClHDf; Sun, 09 Jan 2011 01:45:17 +0100 14 id tClC1f0024v5z3u03ClHDf; Sun, 09 Jan 2011 01:45:17 +0100
15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
16To: uclibc@uclibc.org 16To: uclibc@uclibc.org
17Cc: Khem Raj <raj.khem@gmail.com>, 17Cc: Khem Raj <raj.khem@gmail.com>,
18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, 18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
19 Carmelo AMOROSO <carmelo.amoroso@st.com> 19 Carmelo AMOROSO <carmelo.amoroso@st.com>
20Subject: [PATCH 5/7] ARM: #include <bits/arm_asm.h> where __USE_BX__ is used 20Subject: [PATCH 5/7] ARM: #include <bits/arm_asm.h> where __USE_BX__ is used
21Date: Sun, 9 Jan 2011 01:45:08 +0100 21Date: Sun, 9 Jan 2011 01:45:08 +0100
22Message-Id: <1294533910-19305-6-git-send-email-yann.morin.1998@anciens.enib.fr> 22Message-Id: <1294533910-19305-6-git-send-email-yann.morin.1998@anciens.enib.fr>
23X-Mailer: git-send-email 1.7.1 23X-Mailer: git-send-email 1.7.1
24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
26 26
27The check for __USE_BX__ will be available in bits/arm_asm.h, 27The check for __USE_BX__ will be available in bits/arm_asm.h,
28so the latter must be included wherever the former is used. 28so the latter must be included wherever the former is used.
29 29
30Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 30Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
31Cc: Khem Raj <raj.khem@gmail.com> 31Cc: Khem Raj <raj.khem@gmail.com>
32Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> 32Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
33Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> 33Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
34--- 34---
35 ldso/ldso/arm/dl-startup.h | 1 + 35 ldso/ldso/arm/dl-startup.h | 1 +
36 libc/sysdeps/linux/arm/sysdep.h | 1 + 36 libc/sysdeps/linux/arm/sysdep.h | 1 +
37 2 files changed, 2 insertions(+), 0 deletions(-) 37 2 files changed, 2 insertions(+), 0 deletions(-)
38 38
39diff --git a/ldso/ldso/arm/dl-startup.h b/ldso/ldso/arm/dl-startup.h 39diff --git a/ldso/ldso/arm/dl-startup.h b/ldso/ldso/arm/dl-startup.h
40index a95389d..2dfdaff 100644 40index a95389d..2dfdaff 100644
41--- a/ldso/ldso/arm/dl-startup.h 41--- a/ldso/ldso/arm/dl-startup.h
42+++ b/ldso/ldso/arm/dl-startup.h 42+++ b/ldso/ldso/arm/dl-startup.h
43@@ -7,6 +7,7 @@ 43@@ -7,6 +7,7 @@
44 */ 44 */
45 45
46 #include <features.h> 46 #include <features.h>
47+#include <bits/arm_asm.h> 47+#include <bits/arm_asm.h>
48 48
49 #if !defined(__thumb__) 49 #if !defined(__thumb__)
50 __asm__( 50 __asm__(
51diff --git a/libc/sysdeps/linux/arm/sysdep.h b/libc/sysdeps/linux/arm/sysdep.h 51diff --git a/libc/sysdeps/linux/arm/sysdep.h b/libc/sysdeps/linux/arm/sysdep.h
52index 013f88c..e498695 100644 52index 013f88c..e498695 100644
53--- a/libc/sysdeps/linux/arm/sysdep.h 53--- a/libc/sysdeps/linux/arm/sysdep.h
54+++ b/libc/sysdeps/linux/arm/sysdep.h 54+++ b/libc/sysdeps/linux/arm/sysdep.h
55@@ -21,6 +21,7 @@ 55@@ -21,6 +21,7 @@
56 #define _LINUX_ARM_SYSDEP_H 1 56 #define _LINUX_ARM_SYSDEP_H 1
57 57
58 #include <common/sysdep.h> 58 #include <common/sysdep.h>
59+#include <bits/arm_asm.h> 59+#include <bits/arm_asm.h>
60 60
61 #include <sys/syscall.h> 61 #include <sys/syscall.h>
62 /* For Linux we can use the system call table in the header file 62 /* For Linux we can use the system call table in the header file
63-- 63--
641.7.1 641.7.1
65 65
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.32/remove-eabi-oabi-selection.patch b/meta/recipes-core/uclibc/uclibc-0.9.32/remove-eabi-oabi-selection.patch
index f4957351e9..8f3464e2e4 100644
--- a/meta/recipes-core/uclibc/uclibc-0.9.32/remove-eabi-oabi-selection.patch
+++ b/meta/recipes-core/uclibc/uclibc-0.9.32/remove-eabi-oabi-selection.patch
@@ -1,45 +1,45 @@
1Delivered-To: raj.khem@gmail.com 1Delivered-To: raj.khem@gmail.com
2Received: by 10.90.86.4 with SMTP id j4cs313309agb; 2Received: by 10.90.86.4 with SMTP id j4cs313309agb;
3 Sat, 8 Jan 2011 16:45:20 -0800 (PST) 3 Sat, 8 Jan 2011 16:45:20 -0800 (PST)
4Received: by 10.216.173.7 with SMTP id u7mr612034wel.50.1294533919433; 4Received: by 10.216.173.7 with SMTP id u7mr612034wel.50.1294533919433;
5 Sat, 08 Jan 2011 16:45:19 -0800 (PST) 5 Sat, 08 Jan 2011 16:45:19 -0800 (PST)
6Return-Path: <yann.morin.1998@anciens.enib.fr> 6Return-Path: <yann.morin.1998@anciens.enib.fr>
7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) 7Received: 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; 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) 9 Sat, 08 Jan 2011 16:45:19 -0800 (PST)
10Received-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; 10Received-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;
11Authentication-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 11Authentication-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
12Received: from roazhon.bzh.lan ([90.32.245.227]) 12Received: from roazhon.bzh.lan ([90.32.245.227])
13 by mwinf5d24 with ME 13 by mwinf5d24 with ME
14 id tClC1f0024v5z3u03ClJDu; Sun, 09 Jan 2011 01:45:18 +0100 14 id tClC1f0024v5z3u03ClJDu; Sun, 09 Jan 2011 01:45:18 +0100
15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
16To: uclibc@uclibc.org 16To: uclibc@uclibc.org
17Cc: Khem Raj <raj.khem@gmail.com>, 17Cc: Khem Raj <raj.khem@gmail.com>,
18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, 18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
19 Carmelo AMOROSO <carmelo.amoroso@st.com> 19 Carmelo AMOROSO <carmelo.amoroso@st.com>
20Subject: [PATCH 7/7] ARM: remove EABI/OABI selection 20Subject: [PATCH 7/7] ARM: remove EABI/OABI selection
21Date: Sun, 9 Jan 2011 01:45:10 +0100 21Date: Sun, 9 Jan 2011 01:45:10 +0100
22Message-Id: <1294533910-19305-8-git-send-email-yann.morin.1998@anciens.enib.fr> 22Message-Id: <1294533910-19305-8-git-send-email-yann.morin.1998@anciens.enib.fr>
23X-Mailer: git-send-email 1.7.1 23X-Mailer: git-send-email 1.7.1
24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
26 26
27Rely on the compiler to be properly setup for the default ABI. 27Rely on the compiler to be properly setup for the default ABI.
28 28
29When installing-headers, there are two cases: 29When installing-headers, there are two cases:
30- NPTL: no issue, a cross-compiler is already expected 30- NPTL: no issue, a cross-compiler is already expected
31- LinuxThreads: no issue, EABI/OABI has no impact on installed headers. 31- LinuxThreads: no issue, EABI/OABI has no impact on installed headers.
32 32
33Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 33Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
34Cc: Khem Raj <raj.khem@gmail.com> 34Cc: Khem Raj <raj.khem@gmail.com>
35Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> 35Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
36Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> 36Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
37--- 37---
38 extra/Configs/Config.arm | 11 ----------- 38 extra/Configs/Config.arm | 11 -----------
39 libc/sysdeps/linux/arm/Makefile.arch | 9 +++++++-- 39 libc/sysdeps/linux/arm/Makefile.arch | 9 +++++++--
40 libc/sysdeps/linux/arm/bits/huge_val.h | 4 ++-- 40 libc/sysdeps/linux/arm/bits/huge_val.h | 4 ++--
41 3 files changed, 9 insertions(+), 15 deletions(-) 41 3 files changed, 9 insertions(+), 15 deletions(-)
42 42
43Index: git/libc/sysdeps/linux/arm/Makefile.arch 43Index: git/libc/sysdeps/linux/arm/Makefile.arch
44=================================================================== 44===================================================================
45--- git.orig/libc/sysdeps/linux/arm/Makefile.arch 45--- git.orig/libc/sysdeps/linux/arm/Makefile.arch
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.32/remove-sub-arch-variants.patch b/meta/recipes-core/uclibc/uclibc-0.9.32/remove-sub-arch-variants.patch
index 16f3f41c30..920a66900d 100644
--- a/meta/recipes-core/uclibc/uclibc-0.9.32/remove-sub-arch-variants.patch
+++ b/meta/recipes-core/uclibc/uclibc-0.9.32/remove-sub-arch-variants.patch
@@ -1,215 +1,215 @@
1Delivered-To: raj.khem@gmail.com 1Delivered-To: raj.khem@gmail.com
2Received: by 10.90.86.4 with SMTP id j4cs313303agb; 2Received: by 10.90.86.4 with SMTP id j4cs313303agb;
3 Sat, 8 Jan 2011 16:45:18 -0800 (PST) 3 Sat, 8 Jan 2011 16:45:18 -0800 (PST)
4Received: by 10.227.98.158 with SMTP id q30mr1255804wbn.151.1294533917314; 4Received: by 10.227.98.158 with SMTP id q30mr1255804wbn.151.1294533917314;
5 Sat, 08 Jan 2011 16:45:17 -0800 (PST) 5 Sat, 08 Jan 2011 16:45:17 -0800 (PST)
6Return-Path: <yann.morin.1998@anciens.enib.fr> 6Return-Path: <yann.morin.1998@anciens.enib.fr>
7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) 7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123])
8 by mx.google.com with ESMTP id r3si33749838wbr.54.2011.01.08.16.45.16; 8 by mx.google.com with ESMTP id r3si33749838wbr.54.2011.01.08.16.45.16;
9 Sat, 08 Jan 2011 16:45:17 -0800 (PST) 9 Sat, 08 Jan 2011 16:45:17 -0800 (PST)
10Received-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; 10Received-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;
11Authentication-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 11Authentication-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
12Received: from roazhon.bzh.lan ([90.32.245.227]) 12Received: from roazhon.bzh.lan ([90.32.245.227])
13 by mwinf5d24 with ME 13 by mwinf5d24 with ME
14 id tClC1f0024v5z3u03ClGDS; Sun, 09 Jan 2011 01:45:16 +0100 14 id tClC1f0024v5z3u03ClGDS; Sun, 09 Jan 2011 01:45:16 +0100
15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
16To: uclibc@uclibc.org 16To: uclibc@uclibc.org
17Cc: Khem Raj <raj.khem@gmail.com>, 17Cc: Khem Raj <raj.khem@gmail.com>,
18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, 18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
19 Carmelo AMOROSO <carmelo.amoroso@st.com> 19 Carmelo AMOROSO <carmelo.amoroso@st.com>
20Subject: [PATCH 3/7] ARM: remove sub-arch/variants selection from menuconfig 20Subject: [PATCH 3/7] ARM: remove sub-arch/variants selection from menuconfig
21Date: Sun, 9 Jan 2011 01:45:06 +0100 21Date: Sun, 9 Jan 2011 01:45:06 +0100
22Message-Id: <1294533910-19305-4-git-send-email-yann.morin.1998@anciens.enib.fr> 22Message-Id: <1294533910-19305-4-git-send-email-yann.morin.1998@anciens.enib.fr>
23X-Mailer: git-send-email 1.7.1 23X-Mailer: git-send-email 1.7.1
24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
26 26
27Rely on the compiler to be correctly set up to generate 27Rely on the compiler to be correctly set up to generate
28appropriate code for the target variant. 28appropriate code for the target variant.
29 29
30This exposes the Thumb option, as it is no longer auto-selected. 30This exposes the Thumb option, as it is no longer auto-selected.
31The "Use BX" no longer depends on supported CPU to be selected, 31The "Use BX" no longer depends on supported CPU to be selected,
32so it now defaults to 'n' as it shall work by default on CPUs 32so it now defaults to 'n' as it shall work by default on CPUs
33that do not have BX. 33that do not have BX.
34 34
35Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 35Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
36Cc: Khem Raj <raj.khem@gmail.com> 36Cc: Khem Raj <raj.khem@gmail.com>
37Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> 37Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
38Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> 38Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
39--- 39---
40 Rules.mak | 19 ------- 40 Rules.mak | 19 -------
41 extra/Configs/Config.arm | 125 ++-------------------------------------------- 41 extra/Configs/Config.arm | 125 ++--------------------------------------------
42 2 files changed, 5 insertions(+), 139 deletions(-) 42 2 files changed, 5 insertions(+), 139 deletions(-)
43 43
44diff --git a/Rules.mak b/Rules.mak 44diff --git a/Rules.mak b/Rules.mak
45index 2a16908..09741a6 100644 45index 2a16908..09741a6 100644
46--- a/Rules.mak 46--- a/Rules.mak
47+++ b/Rules.mak 47+++ b/Rules.mak
48@@ -332,25 +332,6 @@ ifeq ($(TARGET_ARCH),arm) 48@@ -332,25 +332,6 @@ ifeq ($(TARGET_ARCH),arm)
49 OPTIMIZATION+=-fstrict-aliasing 49 OPTIMIZATION+=-fstrict-aliasing
50 CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN)+=-mlittle-endian 50 CPU_CFLAGS-$(ARCH_LITTLE_ENDIAN)+=-mlittle-endian
51 CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-mbig-endian 51 CPU_CFLAGS-$(ARCH_BIG_ENDIAN)+=-mbig-endian
52- CPU_CFLAGS-$(CONFIG_GENERIC_ARM)+= 52- CPU_CFLAGS-$(CONFIG_GENERIC_ARM)+=
53- CPU_CFLAGS-$(CONFIG_ARM610)+=-mtune=arm610 -march=armv3 53- CPU_CFLAGS-$(CONFIG_ARM610)+=-mtune=arm610 -march=armv3
54- CPU_CFLAGS-$(CONFIG_ARM710)+=-mtune=arm710 -march=armv3 54- CPU_CFLAGS-$(CONFIG_ARM710)+=-mtune=arm710 -march=armv3
55- CPU_CFLAGS-$(CONFIG_ARM7TDMI)+=-mtune=arm7tdmi -march=armv4t 55- CPU_CFLAGS-$(CONFIG_ARM7TDMI)+=-mtune=arm7tdmi -march=armv4t
56- CPU_CFLAGS-$(CONFIG_ARM720T)+=-mtune=arm7tdmi -march=armv4t 56- CPU_CFLAGS-$(CONFIG_ARM720T)+=-mtune=arm7tdmi -march=armv4t
57- CPU_CFLAGS-$(CONFIG_ARM920T)+=-mtune=arm9tdmi -march=armv4t 57- CPU_CFLAGS-$(CONFIG_ARM920T)+=-mtune=arm9tdmi -march=armv4t
58- CPU_CFLAGS-$(CONFIG_ARM922T)+=-mtune=arm9tdmi -march=armv4t 58- CPU_CFLAGS-$(CONFIG_ARM922T)+=-mtune=arm9tdmi -march=armv4t
59- CPU_CFLAGS-$(CONFIG_ARM926T)+=-mtune=arm9e -march=armv5te 59- CPU_CFLAGS-$(CONFIG_ARM926T)+=-mtune=arm9e -march=armv5te
60- CPU_CFLAGS-$(CONFIG_ARM10T)+=-mtune=arm10tdmi -march=armv5t 60- CPU_CFLAGS-$(CONFIG_ARM10T)+=-mtune=arm10tdmi -march=armv5t
61- CPU_CFLAGS-$(CONFIG_ARM1136JF_S)+=-mtune=arm1136jf-s -march=armv6 61- CPU_CFLAGS-$(CONFIG_ARM1136JF_S)+=-mtune=arm1136jf-s -march=armv6
62- CPU_CFLAGS-$(CONFIG_ARM1176JZ_S)+=-mtune=arm1176jz-s -march=armv6 62- CPU_CFLAGS-$(CONFIG_ARM1176JZ_S)+=-mtune=arm1176jz-s -march=armv6
63- CPU_CFLAGS-$(CONFIG_ARM1176JZF_S)+=-mtune=arm1176jzf-s -march=armv6 63- CPU_CFLAGS-$(CONFIG_ARM1176JZF_S)+=-mtune=arm1176jzf-s -march=armv6
64- CPU_CFLAGS-$(CONFIG_ARM_SA110)+=-mtune=strongarm110 -march=armv4 64- CPU_CFLAGS-$(CONFIG_ARM_SA110)+=-mtune=strongarm110 -march=armv4
65- CPU_CFLAGS-$(CONFIG_ARM_SA1100)+=-mtune=strongarm1100 -march=armv4 65- CPU_CFLAGS-$(CONFIG_ARM_SA1100)+=-mtune=strongarm1100 -march=armv4
66- CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110) 66- CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110)
67- CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=-march=armv5te -Wa,-mcpu=xscale 67- CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=-march=armv5te -Wa,-mcpu=xscale
68- CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt -Wa,-mcpu=iwmmxt -mabi=iwmmxt 68- CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt -Wa,-mcpu=iwmmxt -mabi=iwmmxt
69- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M3)+=-mcpu=cortex-m3 69- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M3)+=-mcpu=cortex-m3
70- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M1)+=-mcpu=cortex-m1 70- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M1)+=-mcpu=cortex-m1
71 CPU_CFLAGS-$(COMPILE_IN_THUMB_MODE)+=-mthumb 71 CPU_CFLAGS-$(COMPILE_IN_THUMB_MODE)+=-mthumb
72 endif 72 endif
73 73
74diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm 74diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
75index c9c40d4..6c75a00 100644 75index c9c40d4..6c75a00 100644
76--- a/extra/Configs/Config.arm 76--- a/extra/Configs/Config.arm
77+++ b/extra/Configs/Config.arm 77+++ b/extra/Configs/Config.arm
78@@ -30,129 +30,14 @@ config CONFIG_ARM_EABI 78@@ -30,129 +30,14 @@ config CONFIG_ARM_EABI
79 79
80 endchoice 80 endchoice
81 81
82-choice 82-choice
83- prompt "Target Processor Type" 83- prompt "Target Processor Type"
84- default CONFIG_GENERIC_ARM 84- default CONFIG_GENERIC_ARM
85- help 85- help
86- This is the processor type of your CPU. This information is used for 86- This is the processor type of your CPU. This information is used for
87- optimizing purposes. To build a library that will run on all ARMCPU 87- optimizing purposes. To build a library that will run on all ARMCPU
88- types (albeit not optimally fast), you can specify "Generic Arm" here. 88- types (albeit not optimally fast), you can specify "Generic Arm" here.
89- If you pick anything other than "Generic Arm", there is no guarantee 89- If you pick anything other than "Generic Arm", there is no guarantee
90- that uClibc will even run on anything other than the selected 90- that uClibc will even run on anything other than the selected
91- processor type. 91- processor type.
92- 92-
93- Here are the settings recommended for greatest speed: 93- Here are the settings recommended for greatest speed:
94- - "Generic Arm" select this if your compiler is already setup to 94- - "Generic Arm" select this if your compiler is already setup to
95- optimize things properly, or if you want to run on pretty much 95- optimize things properly, or if you want to run on pretty much
96- everything, or you just don't much care. 96- everything, or you just don't much care.
97- - For anything else, pick the ARM core type that best matches the 97- - For anything else, pick the ARM core type that best matches the
98- cpu you will be using on your device. 98- cpu you will be using on your device.
99- 99-
100- If you don't know what to do, choose "Generic Arm". 100- If you don't know what to do, choose "Generic Arm".
101- 101-
102-config CONFIG_GENERIC_ARM 102-config CONFIG_GENERIC_ARM
103- bool "Generic Arm" 103- bool "Generic Arm"
104- 104-
105-config CONFIG_ARM610 105-config CONFIG_ARM610
106- bool "Arm 610" 106- bool "Arm 610"
107- select ARCH_HAS_MMU 107- select ARCH_HAS_MMU
108- 108-
109-config CONFIG_ARM710 109-config CONFIG_ARM710
110- bool "Arm 710" 110- bool "Arm 710"
111- select ARCH_HAS_MMU 111- select ARCH_HAS_MMU
112- 112-
113-config CONFIG_ARM7TDMI 113-config CONFIG_ARM7TDMI
114- bool "Arm 7TDMI" 114- bool "Arm 7TDMI"
115- select ARCH_HAS_NO_MMU 115- select ARCH_HAS_NO_MMU
116- select HAS_THUMB 116- select HAS_THUMB
117- 117-
118-config CONFIG_ARM720T 118-config CONFIG_ARM720T
119- bool "Arm 720T" 119- bool "Arm 720T"
120- select ARCH_HAS_MMU 120- select ARCH_HAS_MMU
121- select HAS_THUMB 121- select HAS_THUMB
122- 122-
123-config CONFIG_ARM920T 123-config CONFIG_ARM920T
124- bool "Arm 920T" 124- bool "Arm 920T"
125- select ARCH_HAS_MMU 125- select ARCH_HAS_MMU
126- select HAS_THUMB 126- select HAS_THUMB
127- 127-
128-config CONFIG_ARM922T 128-config CONFIG_ARM922T
129- bool "Arm 922T" 129- bool "Arm 922T"
130- select ARCH_HAS_MMU 130- select ARCH_HAS_MMU
131- select HAS_THUMB 131- select HAS_THUMB
132- 132-
133-config CONFIG_ARM926T 133-config CONFIG_ARM926T
134- bool "Arm 926T" 134- bool "Arm 926T"
135- select ARCH_HAS_MMU 135- select ARCH_HAS_MMU
136- select HAS_THUMB 136- select HAS_THUMB
137- 137-
138-config CONFIG_ARM10T 138-config CONFIG_ARM10T
139- bool "Arm 10T" 139- bool "Arm 10T"
140- select ARCH_HAS_MMU 140- select ARCH_HAS_MMU
141- select HAS_THUMB 141- select HAS_THUMB
142- 142-
143-config CONFIG_ARM1136JF_S 143-config CONFIG_ARM1136JF_S
144- bool "Arm 1136JF-S" 144- bool "Arm 1136JF-S"
145- select ARCH_HAS_MMU 145- select ARCH_HAS_MMU
146- select HAS_THUMB 146- select HAS_THUMB
147- 147-
148-config CONFIG_ARM1176JZ_S 148-config CONFIG_ARM1176JZ_S
149- bool "Arm 1176JZ-S" 149- bool "Arm 1176JZ-S"
150- select ARCH_HAS_MMU 150- select ARCH_HAS_MMU
151- select HAS_THUMB 151- select HAS_THUMB
152- 152-
153-config CONFIG_ARM1176JZF_S 153-config CONFIG_ARM1176JZF_S
154- bool "Arm 1176JZF-S" 154- bool "Arm 1176JZF-S"
155- select ARCH_HAS_MMU 155- select ARCH_HAS_MMU
156- select HAS_THUMB 156- select HAS_THUMB
157- 157-
158-config CONFIG_ARM_CORTEX_M3 158-config CONFIG_ARM_CORTEX_M3
159- bool "Arm Cortex-M3" 159- bool "Arm Cortex-M3"
160- select ARCH_HAS_NO_MMU 160- select ARCH_HAS_NO_MMU
161- select FORCE_THUMB 161- select FORCE_THUMB
162- 162-
163-config CONFIG_ARM_CORTEX_M1 163-config CONFIG_ARM_CORTEX_M1
164- bool "Arm Cortex-M1" 164- bool "Arm Cortex-M1"
165- select ARCH_HAS_NO_MMU 165- select ARCH_HAS_NO_MMU
166- select FORCE_THUMB 166- select FORCE_THUMB
167- 167-
168-config CONFIG_ARM_SA110 168-config CONFIG_ARM_SA110
169- bool "Intel StrongArm SA-110" 169- bool "Intel StrongArm SA-110"
170- select ARCH_HAS_MMU 170- select ARCH_HAS_MMU
171- select HAS_THUMB 171- select HAS_THUMB
172- 172-
173-config CONFIG_ARM_SA1100 173-config CONFIG_ARM_SA1100
174- bool "Intel StrongArm SA-1100" 174- bool "Intel StrongArm SA-1100"
175- select ARCH_HAS_MMU 175- select ARCH_HAS_MMU
176- select HAS_THUMB 176- select HAS_THUMB
177- 177-
178-config CONFIG_ARM_XSCALE 178-config CONFIG_ARM_XSCALE
179- bool "Intel Xscale" 179- bool "Intel Xscale"
180- select ARCH_HAS_MMU 180- select ARCH_HAS_MMU
181- select HAS_THUMB 181- select HAS_THUMB
182- 182-
183-config CONFIG_ARM_IWMMXT 183-config CONFIG_ARM_IWMMXT
184- bool "Intel Xscale With WMMX PXA27x" 184- bool "Intel Xscale With WMMX PXA27x"
185- select ARCH_HAS_MMU 185- select ARCH_HAS_MMU
186- select HAS_THUMB 186- select HAS_THUMB
187- 187-
188-endchoice 188-endchoice
189- 189-
190-config HAS_THUMB 190-config HAS_THUMB
191- bool 191- bool
192- 192-
193-config FORCE_THUMB 193-config FORCE_THUMB
194- bool 194- bool
195- select HAS_THUMB 195- select HAS_THUMB
196- select COMPILE_IN_THUMB_MODE 196- select COMPILE_IN_THUMB_MODE
197- select USE_BX 197- select USE_BX
198- 198-
199 config COMPILE_IN_THUMB_MODE 199 config COMPILE_IN_THUMB_MODE
200- bool 200- bool
201+ bool "Build using Thumb mode" 201+ bool "Build using Thumb mode"
202+ select USE_BX 202+ select USE_BX
203+ help 203+ help
204+ Say 'y' here to force building uClibc in thumb mode. 204+ Say 'y' here to force building uClibc in thumb mode.
205+ Say 'n' to use your compiler's default mode. 205+ Say 'n' to use your compiler's default mode.
206 206
207 config USE_BX 207 config USE_BX
208 bool "Use BX in function return" 208 bool "Use BX in function return"
209- default y 209- default y
210- depends on HAS_THUMB 210- depends on HAS_THUMB
211 help 211 help
212 Use BX instruction for THUMB aware architectures. 212 Use BX instruction for THUMB aware architectures.
213-- 213--
2141.7.1 2141.7.1
215 215
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.32/select-force-thumb.patch b/meta/recipes-core/uclibc/uclibc-0.9.32/select-force-thumb.patch
index 7967794a42..b19408f1b2 100644
--- a/meta/recipes-core/uclibc/uclibc-0.9.32/select-force-thumb.patch
+++ b/meta/recipes-core/uclibc/uclibc-0.9.32/select-force-thumb.patch
@@ -1,172 +1,172 @@
1Delivered-To: raj.khem@gmail.com 1Delivered-To: raj.khem@gmail.com
2Received: by 10.90.86.4 with SMTP id j4cs313301agb; 2Received: by 10.90.86.4 with SMTP id j4cs313301agb;
3 Sat, 8 Jan 2011 16:45:17 -0800 (PST) 3 Sat, 8 Jan 2011 16:45:17 -0800 (PST)
4Received: by 10.216.186.82 with SMTP id v60mr20017574wem.56.1294533916559; 4Received: by 10.216.186.82 with SMTP id v60mr20017574wem.56.1294533916559;
5 Sat, 08 Jan 2011 16:45:16 -0800 (PST) 5 Sat, 08 Jan 2011 16:45:16 -0800 (PST)
6Return-Path: <yann.morin.1998@anciens.enib.fr> 6Return-Path: <yann.morin.1998@anciens.enib.fr>
7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) 7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123])
8 by mx.google.com with ESMTP id o13si33755824wee.56.2011.01.08.16.45.16; 8 by mx.google.com with ESMTP id o13si33755824wee.56.2011.01.08.16.45.16;
9 Sat, 08 Jan 2011 16:45:16 -0800 (PST) 9 Sat, 08 Jan 2011 16:45:16 -0800 (PST)
10Received-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; 10Received-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;
11Authentication-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 11Authentication-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
12Received: from roazhon.bzh.lan ([90.32.245.227]) 12Received: from roazhon.bzh.lan ([90.32.245.227])
13 by mwinf5d24 with ME 13 by mwinf5d24 with ME
14 id tClC1f0024v5z3u03ClFDL; Sun, 09 Jan 2011 01:45:16 +0100 14 id tClC1f0024v5z3u03ClFDL; Sun, 09 Jan 2011 01:45:16 +0100
15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
16To: uclibc@uclibc.org 16To: uclibc@uclibc.org
17Cc: Khem Raj <raj.khem@gmail.com>, 17Cc: Khem Raj <raj.khem@gmail.com>,
18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, 18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
19 Carmelo AMOROSO <carmelo.amoroso@st.com> 19 Carmelo AMOROSO <carmelo.amoroso@st.com>
20Subject: [PATCH 2/7] ARM: introduce blind options to select & force THUMB mode 20Subject: [PATCH 2/7] ARM: introduce blind options to select & force THUMB mode
21Date: Sun, 9 Jan 2011 01:45:05 +0100 21Date: Sun, 9 Jan 2011 01:45:05 +0100
22Message-Id: <1294533910-19305-3-git-send-email-yann.morin.1998@anciens.enib.fr> 22Message-Id: <1294533910-19305-3-git-send-email-yann.morin.1998@anciens.enib.fr>
23X-Mailer: git-send-email 1.7.1 23X-Mailer: git-send-email 1.7.1
24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
26 26
27Add three new blind options to set use of Thumb mode: 27Add three new blind options to set use of Thumb mode:
28- COMPILE_IN_THUMB_MODE 28- COMPILE_IN_THUMB_MODE
29 - if set, CFLAGS will contain -mthumb 29 - if set, CFLAGS will contain -mthumb
30 - if unset, the compiler's default is used 30 - if unset, the compiler's default is used
31- HAS_THUMB 31- HAS_THUMB
32 - CPUS with Thumb instruction set can select this 32 - CPUS with Thumb instruction set can select this
33 - use of BX depends on this 33 - use of BX depends on this
34- FORCE_THUMB 34- FORCE_THUMB
35 - CPUs that are Thumb-only must select this 35 - CPUs that are Thumb-only must select this
36 - this selects: HAS_THUMB, COMPILE_IN_THUMB_MODE and USE_BX 36 - this selects: HAS_THUMB, COMPILE_IN_THUMB_MODE and USE_BX
37 37
38Also, remove leading space in Rules.mak. 38Also, remove leading space in Rules.mak.
39 39
40Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 40Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
41Cc: Khem Raj <raj.khem@gmail.com> 41Cc: Khem Raj <raj.khem@gmail.com>
42Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> 42Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
43Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> 43Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
44--- 44---
45 Rules.mak | 7 ++++--- 45 Rules.mak | 7 ++++---
46 extra/Configs/Config.arm | 31 ++++++++++++++++++++++++++++--- 46 extra/Configs/Config.arm | 31 ++++++++++++++++++++++++++++---
47 2 files changed, 32 insertions(+), 6 deletions(-) 47 2 files changed, 32 insertions(+), 6 deletions(-)
48 48
49diff --git a/Rules.mak b/Rules.mak 49diff --git a/Rules.mak b/Rules.mak
50index eecdc64..2a16908 100644 50index eecdc64..2a16908 100644
51--- a/Rules.mak 51--- a/Rules.mak
52+++ b/Rules.mak 52+++ b/Rules.mak
53@@ -348,9 +348,10 @@ ifeq ($(TARGET_ARCH),arm) 53@@ -348,9 +348,10 @@ ifeq ($(TARGET_ARCH),arm)
54 CPU_CFLAGS-$(CONFIG_ARM_SA1100)+=-mtune=strongarm1100 -march=armv4 54 CPU_CFLAGS-$(CONFIG_ARM_SA1100)+=-mtune=strongarm1100 -march=armv4
55 CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110) 55 CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=$(call check_gcc,-mtune=xscale,-mtune=strongarm110)
56 CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=-march=armv5te -Wa,-mcpu=xscale 56 CPU_CFLAGS-$(CONFIG_ARM_XSCALE)+=-march=armv5te -Wa,-mcpu=xscale
57- CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt -Wa,-mcpu=iwmmxt -mabi=iwmmxt 57- CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt -Wa,-mcpu=iwmmxt -mabi=iwmmxt
58- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M3)+=-mcpu=cortex-m3 -mthumb 58- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M3)+=-mcpu=cortex-m3 -mthumb
59- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M1)+=-mcpu=cortex-m1 -mthumb 59- CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M1)+=-mcpu=cortex-m1 -mthumb
60+ CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt -Wa,-mcpu=iwmmxt -mabi=iwmmxt 60+ CPU_CFLAGS-$(CONFIG_ARM_IWMMXT)+=-march=iwmmxt -Wa,-mcpu=iwmmxt -mabi=iwmmxt
61+ CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M3)+=-mcpu=cortex-m3 61+ CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M3)+=-mcpu=cortex-m3
62+ CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M1)+=-mcpu=cortex-m1 62+ CPU_CFLAGS-$(CONFIG_ARM_CORTEX_M1)+=-mcpu=cortex-m1
63+ CPU_CFLAGS-$(COMPILE_IN_THUMB_MODE)+=-mthumb 63+ CPU_CFLAGS-$(COMPILE_IN_THUMB_MODE)+=-mthumb
64 endif 64 endif
65 65
66 ifeq ($(TARGET_ARCH),mips) 66 ifeq ($(TARGET_ARCH),mips)
67diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm 67diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
68index 3b90e67..c9c40d4 100644 68index 3b90e67..c9c40d4 100644
69--- a/extra/Configs/Config.arm 69--- a/extra/Configs/Config.arm
70+++ b/extra/Configs/Config.arm 70+++ b/extra/Configs/Config.arm
71@@ -64,70 +64,95 @@ config CONFIG_ARM710 71@@ -64,70 +64,95 @@ config CONFIG_ARM710
72 config CONFIG_ARM7TDMI 72 config CONFIG_ARM7TDMI
73 bool "Arm 7TDMI" 73 bool "Arm 7TDMI"
74 select ARCH_HAS_NO_MMU 74 select ARCH_HAS_NO_MMU
75+ select HAS_THUMB 75+ select HAS_THUMB
76 76
77 config CONFIG_ARM720T 77 config CONFIG_ARM720T
78 bool "Arm 720T" 78 bool "Arm 720T"
79 select ARCH_HAS_MMU 79 select ARCH_HAS_MMU
80+ select HAS_THUMB 80+ select HAS_THUMB
81 81
82 config CONFIG_ARM920T 82 config CONFIG_ARM920T
83 bool "Arm 920T" 83 bool "Arm 920T"
84 select ARCH_HAS_MMU 84 select ARCH_HAS_MMU
85+ select HAS_THUMB 85+ select HAS_THUMB
86 86
87 config CONFIG_ARM922T 87 config CONFIG_ARM922T
88 bool "Arm 922T" 88 bool "Arm 922T"
89 select ARCH_HAS_MMU 89 select ARCH_HAS_MMU
90+ select HAS_THUMB 90+ select HAS_THUMB
91 91
92 config CONFIG_ARM926T 92 config CONFIG_ARM926T
93 bool "Arm 926T" 93 bool "Arm 926T"
94 select ARCH_HAS_MMU 94 select ARCH_HAS_MMU
95+ select HAS_THUMB 95+ select HAS_THUMB
96 96
97 config CONFIG_ARM10T 97 config CONFIG_ARM10T
98 bool "Arm 10T" 98 bool "Arm 10T"
99 select ARCH_HAS_MMU 99 select ARCH_HAS_MMU
100+ select HAS_THUMB 100+ select HAS_THUMB
101 101
102 config CONFIG_ARM1136JF_S 102 config CONFIG_ARM1136JF_S
103 bool "Arm 1136JF-S" 103 bool "Arm 1136JF-S"
104 select ARCH_HAS_MMU 104 select ARCH_HAS_MMU
105+ select HAS_THUMB 105+ select HAS_THUMB
106 106
107 config CONFIG_ARM1176JZ_S 107 config CONFIG_ARM1176JZ_S
108 bool "Arm 1176JZ-S" 108 bool "Arm 1176JZ-S"
109 select ARCH_HAS_MMU 109 select ARCH_HAS_MMU
110+ select HAS_THUMB 110+ select HAS_THUMB
111 111
112 config CONFIG_ARM1176JZF_S 112 config CONFIG_ARM1176JZF_S
113 bool "Arm 1176JZF-S" 113 bool "Arm 1176JZF-S"
114 select ARCH_HAS_MMU 114 select ARCH_HAS_MMU
115+ select HAS_THUMB 115+ select HAS_THUMB
116 116
117 config CONFIG_ARM_CORTEX_M3 117 config CONFIG_ARM_CORTEX_M3
118 bool "Arm Cortex-M3" 118 bool "Arm Cortex-M3"
119 select ARCH_HAS_NO_MMU 119 select ARCH_HAS_NO_MMU
120- select USE_BX 120- select USE_BX
121+ select FORCE_THUMB 121+ select FORCE_THUMB
122 122
123 config CONFIG_ARM_CORTEX_M1 123 config CONFIG_ARM_CORTEX_M1
124 bool "Arm Cortex-M1" 124 bool "Arm Cortex-M1"
125 select ARCH_HAS_NO_MMU 125 select ARCH_HAS_NO_MMU
126- select USE_BX 126- select USE_BX
127+ select FORCE_THUMB 127+ select FORCE_THUMB
128 128
129 config CONFIG_ARM_SA110 129 config CONFIG_ARM_SA110
130 bool "Intel StrongArm SA-110" 130 bool "Intel StrongArm SA-110"
131 select ARCH_HAS_MMU 131 select ARCH_HAS_MMU
132+ select HAS_THUMB 132+ select HAS_THUMB
133 133
134 config CONFIG_ARM_SA1100 134 config CONFIG_ARM_SA1100
135 bool "Intel StrongArm SA-1100" 135 bool "Intel StrongArm SA-1100"
136 select ARCH_HAS_MMU 136 select ARCH_HAS_MMU
137+ select HAS_THUMB 137+ select HAS_THUMB
138 138
139 config CONFIG_ARM_XSCALE 139 config CONFIG_ARM_XSCALE
140 bool "Intel Xscale" 140 bool "Intel Xscale"
141 select ARCH_HAS_MMU 141 select ARCH_HAS_MMU
142+ select HAS_THUMB 142+ select HAS_THUMB
143 143
144 config CONFIG_ARM_IWMMXT 144 config CONFIG_ARM_IWMMXT
145 bool "Intel Xscale With WMMX PXA27x" 145 bool "Intel Xscale With WMMX PXA27x"
146 select ARCH_HAS_MMU 146 select ARCH_HAS_MMU
147+ select HAS_THUMB 147+ select HAS_THUMB
148 148
149 endchoice 149 endchoice
150 150
151+config HAS_THUMB 151+config HAS_THUMB
152+ bool 152+ bool
153+ 153+
154+config FORCE_THUMB 154+config FORCE_THUMB
155+ bool 155+ bool
156+ select HAS_THUMB 156+ select HAS_THUMB
157+ select COMPILE_IN_THUMB_MODE 157+ select COMPILE_IN_THUMB_MODE
158+ select USE_BX 158+ select USE_BX
159+ 159+
160+config COMPILE_IN_THUMB_MODE 160+config COMPILE_IN_THUMB_MODE
161+ bool 161+ bool
162+ 162+
163 config USE_BX 163 config USE_BX
164 bool "Use BX in function return" 164 bool "Use BX in function return"
165 default y 165 default y
166- depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710 166- depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
167+ depends on HAS_THUMB 167+ depends on HAS_THUMB
168 help 168 help
169 Use BX instruction for THUMB aware architectures. 169 Use BX instruction for THUMB aware architectures.
170-- 170--
1711.7.1 1711.7.1
172 172
diff --git a/meta/recipes-core/uclibc/uclibc-0.9.32/transform-eabi-oabi-choice.patch b/meta/recipes-core/uclibc/uclibc-0.9.32/transform-eabi-oabi-choice.patch
index 7acd5d17f6..82970ca458 100644
--- a/meta/recipes-core/uclibc/uclibc-0.9.32/transform-eabi-oabi-choice.patch
+++ b/meta/recipes-core/uclibc/uclibc-0.9.32/transform-eabi-oabi-choice.patch
@@ -1,39 +1,39 @@
1Delivered-To: raj.khem@gmail.com 1Delivered-To: raj.khem@gmail.com
2Received: by 10.90.86.4 with SMTP id j4cs313305agb; 2Received: by 10.90.86.4 with SMTP id j4cs313305agb;
3 Sat, 8 Jan 2011 16:45:19 -0800 (PST) 3 Sat, 8 Jan 2011 16:45:19 -0800 (PST)
4Received: by 10.216.153.210 with SMTP id f60mr573848wek.114.1294533918335; 4Received: by 10.216.153.210 with SMTP id f60mr573848wek.114.1294533918335;
5 Sat, 08 Jan 2011 16:45:18 -0800 (PST) 5 Sat, 08 Jan 2011 16:45:18 -0800 (PST)
6Return-Path: <yann.morin.1998@anciens.enib.fr> 6Return-Path: <yann.morin.1998@anciens.enib.fr>
7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123]) 7Received: from smtp.smtpout.orange.fr (smtp01.smtpout.orange.fr [80.12.242.123])
8 by mx.google.com with ESMTP id n4si33737071wej.152.2011.01.08.16.45.17; 8 by mx.google.com with ESMTP id n4si33737071wej.152.2011.01.08.16.45.17;
9 Sat, 08 Jan 2011 16:45:18 -0800 (PST) 9 Sat, 08 Jan 2011 16:45:18 -0800 (PST)
10Received-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; 10Received-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;
11Authentication-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 11Authentication-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
12Received: from roazhon.bzh.lan ([90.32.245.227]) 12Received: from roazhon.bzh.lan ([90.32.245.227])
13 by mwinf5d24 with ME 13 by mwinf5d24 with ME
14 id tClC1f0024v5z3u03ClGDX; Sun, 09 Jan 2011 01:45:17 +0100 14 id tClC1f0024v5z3u03ClGDX; Sun, 09 Jan 2011 01:45:17 +0100
15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 15From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
16To: uclibc@uclibc.org 16To: uclibc@uclibc.org
17Cc: Khem Raj <raj.khem@gmail.com>, 17Cc: Khem Raj <raj.khem@gmail.com>,
18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>, 18 Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>,
19 Carmelo AMOROSO <carmelo.amoroso@st.com> 19 Carmelo AMOROSO <carmelo.amoroso@st.com>
20Subject: [PATCH 4/7] ARM: transform the EABI/OABI choice into a boolean 20Subject: [PATCH 4/7] ARM: transform the EABI/OABI choice into a boolean
21Date: Sun, 9 Jan 2011 01:45:07 +0100 21Date: Sun, 9 Jan 2011 01:45:07 +0100
22Message-Id: <1294533910-19305-5-git-send-email-yann.morin.1998@anciens.enib.fr> 22Message-Id: <1294533910-19305-5-git-send-email-yann.morin.1998@anciens.enib.fr>
23X-Mailer: git-send-email 1.7.1 23X-Mailer: git-send-email 1.7.1
24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 24In-Reply-To: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr> 25References: <1294533910-19305-1-git-send-email-yann.morin.1998@anciens.enib.fr>
26 26
27The CONFIG_ARM_OABI option is never used. 27The CONFIG_ARM_OABI option is never used.
28 28
29Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> 29Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
30Cc: Khem Raj <raj.khem@gmail.com> 30Cc: Khem Raj <raj.khem@gmail.com>
31Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> 31Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
32Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> 32Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
33--- 33---
34 extra/Configs/Config.arm | 23 ++++++++--------------- 34 extra/Configs/Config.arm | 23 ++++++++---------------
35 1 files changed, 8 insertions(+), 15 deletions(-) 35 1 files changed, 8 insertions(+), 15 deletions(-)
36 36
37Index: git/extra/Configs/Config.arm 37Index: git/extra/Configs/Config.arm
38=================================================================== 38===================================================================
39--- git.orig/extra/Configs/Config.arm 39--- git.orig/extra/Configs/Config.arm