diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/reorder-use-BX.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/reorder-use-BX.patch | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/reorder-use-BX.patch b/meta/recipes-core/uclibc/uclibc-git/reorder-use-BX.patch new file mode 100644 index 0000000000..f9f19f9d08 --- /dev/null +++ b/meta/recipes-core/uclibc/uclibc-git/reorder-use-BX.patch | |||
@@ -0,0 +1,72 @@ | |||
1 | Delivered-To: raj.khem@gmail.com | ||
2 | Received: by 10.90.86.4 with SMTP id j4cs313299agb; | ||
3 | Sat, 8 Jan 2011 16:45:16 -0800 (PST) | ||
4 | Received: by 10.227.134.5 with SMTP id h5mr1312651wbt.75.1294533915992; | ||
5 | Sat, 08 Jan 2011 16:45:15 -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 m42si33753731wej.65.2011.01.08.16.45.15; | ||
9 | Sat, 08 Jan 2011 16:45:15 -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 tClC1f0024v5z3u03ClEDA; Sun, 09 Jan 2011 01:45:15 +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 1/7] ARM: reorder "Use BX" option | ||
21 | Date: Sun, 9 Jan 2011 01:45:04 +0100 | ||
22 | Message-Id: <1294533910-19305-2-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 | "Use BX" is not available on all CPUs, so the option depends on | ||
28 | a correct CPU to be chosen . It is weird that e BX" then appears | ||
29 | _above_ the CPU selection, not below. | ||
30 | |||
31 | Move the "Use BX" after the CPU selection. | ||
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 | 14 +++++++------- | ||
39 | 1 files changed, 7 insertions(+), 7 deletions(-) | ||
40 | |||
41 | diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm | ||
42 | index b060ace..3b90e67 100644 | ||
43 | --- a/extra/Configs/Config.arm | ||
44 | +++ b/extra/Configs/Config.arm | ||
45 | @@ -30,13 +30,6 @@ config CONFIG_ARM_EABI | ||
46 | |||
47 | endchoice | ||
48 | |||
49 | -config USE_BX | ||
50 | - bool "Use BX in function return" | ||
51 | - default y | ||
52 | - depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710 | ||
53 | - help | ||
54 | - Use BX instruction for THUMB aware architectures. | ||
55 | - | ||
56 | choice | ||
57 | prompt "Target Processor Type" | ||
58 | default CONFIG_GENERIC_ARM | ||
59 | @@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT | ||
60 | select ARCH_HAS_MMU | ||
61 | |||
62 | endchoice | ||
63 | + | ||
64 | +config USE_BX | ||
65 | + bool "Use BX in function return" | ||
66 | + default y | ||
67 | + depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710 | ||
68 | + help | ||
69 | + Use BX instruction for THUMB aware architectures. | ||
70 | -- | ||
71 | 1.7.1 | ||
72 | |||