diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2011-02-02 20:19:28 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2011-02-02 20:19:28 +0000 |
commit | 247e9192231dcf9db2c88173b1e76cb18abf9db5 (patch) | |
tree | 659ca5c6baee7ffe9f26531f1b4c77cf07e245e3 /toolchain/uClibc/patches-0.9.32/900-reorder_use_bx.patch | |
parent | fa5259d44296a784c67d88197dc75d8ae860138a (diff) | |
download | upstream-247e9192231dcf9db2c88173b1e76cb18abf9db5.tar.gz upstream-247e9192231dcf9db2c88173b1e76cb18abf9db5.tar.bz2 upstream-247e9192231dcf9db2c88173b1e76cb18abf9db5.zip |
autodetect ARM variant/ABI setup based on the compiler settings
SVN-Revision: 25328
Diffstat (limited to 'toolchain/uClibc/patches-0.9.32/900-reorder_use_bx.patch')
-rw-r--r-- | toolchain/uClibc/patches-0.9.32/900-reorder_use_bx.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.32/900-reorder_use_bx.patch b/toolchain/uClibc/patches-0.9.32/900-reorder_use_bx.patch new file mode 100644 index 0000000000..dddd0a0e4f --- /dev/null +++ b/toolchain/uClibc/patches-0.9.32/900-reorder_use_bx.patch @@ -0,0 +1,46 @@ +"Use BX" is not available on all CPUs, so the option depends on +a correct CPU to be chosen . It is weird that e BX" then appears +_above_ the CPU selection, not below. + +Move the "Use BX" after the CPU selection. + +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> +Cc: Khem Raj <raj.khem@gmail.com> +Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> +Cc: Carmelo AMOROSO <carmelo.amoroso@st.com> +--- + extra/Configs/Config.arm | 14 +++++++------- + 1 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm +index b060ace..3b90e67 100644 +--- a/extra/Configs/Config.arm ++++ b/extra/Configs/Config.arm +@@ -30,13 +30,6 @@ config CONFIG_ARM_EABI + + endchoice + +-config USE_BX +- bool "Use BX in function return" +- default y +- depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710 +- help +- Use BX instruction for THUMB aware architectures. +- + choice + prompt "Target Processor Type" + default CONFIG_GENERIC_ARM +@@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT + select ARCH_HAS_MMU + + endchoice ++ ++config USE_BX ++ bool "Use BX in function return" ++ default y ++ depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710 ++ help ++ Use BX instruction for THUMB aware architectures. +-- +1.7.1 + |