Root/toolchain/uClibc/patches-0.9.32/900-reorder_use_bx.patch

1"Use BX" is not available on all CPUs, so the option depends on
2a correct CPU to be chosen . It is weird that e BX" then appears
3_above_ the CPU selection, not below.
4
5Move the "Use BX" after the CPU selection.
6
7Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
8Cc: Khem Raj <raj.khem@gmail.com>
9Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
10Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
11---
12 extra/Configs/Config.arm | 14 +++++++-------
13 1 files changed, 7 insertions(+), 7 deletions(-)
14
15--- a/extra/Configs/Config.arm
16+++ b/extra/Configs/Config.arm
17@@ -30,13 +30,6 @@ config CONFIG_ARM_EABI
18 
19 endchoice
20 
21-config USE_BX
22- bool "Use BX in function return"
23- default y
24- depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
25- help
26- Use BX instruction for THUMB aware architectures.
27-
28 choice
29     prompt "Target Processor Type"
30     default CONFIG_GENERIC_ARM
31@@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT
32     select ARCH_HAS_MMU
33 
34 endchoice
35+
36+config USE_BX
37+ bool "Use BX in function return"
38+ default y
39+ depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
40+ help
41+ Use BX instruction for THUMB aware architectures.
42

Archive Download this file



interactive