patches/uClibc/0.9.32/140-ARM-reorder-Use-BX-option.patch
author Cody P Schafer <dev@codyps.com>
Mon May 12 00:02:13 2014 +0200 (2014-05-12)
changeset 3322 eb13867a034c
permissions -rw-r--r--
arch/powerpc: add powerpc64le support

Technically, I don't forbid powerpcle support either, but I'm not sure that
there is any library/compiler support for that at the moment (though the hw
technically makes it possible).

powerpc64le needs glibc 2.19 and gcc 4.9. I haven't looked into the support
tools, but at least gdb 7.5 is too old (7.7.1 definitely has support).

Also make powerpc64 non-experimental. It's practically old at this point.

Signed-off-by: Cody P Schafer <dev@codyps.com>
[yann.morin.1998@free.fr: use ${target_endian_le} and ${target_bits_64}]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <64bfbbced9dd8f62e0d6.1399801945@gun>
Patchwork-Id: 347775
     1 commit d64b91a6d4fa1a3ac1d01fa7593d67c5e5ed5101
     2 Author: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
     3 Date:   Sun Jan 9 01:45:04 2011 +0100
     4 
     5     ARM: reorder "Use BX" option
     6     
     7     "Use BX" is not available on all CPUs, so the option depends on
     8     a correct CPU to be chosen . It is weird that e BX" then appears
     9     _above_ the CPU selection, not below.
    10     
    11     Move the "Use BX" after the CPU selection.
    12     
    13     Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
    14     Cc: Khem Raj <raj.khem@gmail.com>
    15     Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    16     Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
    17     Signed-off-by: Khem Raj <raj.khem@gmail.com>
    18     Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    19 
    20 diff --git a/extra/Configs/Config.arm b/extra/Configs/Config.arm
    21 index eb27a33..dd63b80 100644
    22 --- a/extra/Configs/Config.arm
    23 +++ b/extra/Configs/Config.arm
    24 @@ -30,13 +30,6 @@ config CONFIG_ARM_EABI
    25  
    26  endchoice
    27  
    28 -config USE_BX
    29 -	bool "Use BX in function return"
    30 -	default y
    31 -	depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
    32 -	help
    33 -	  Use BX instruction for THUMB aware architectures.
    34 -
    35  choice
    36  	prompt "Target Processor Type"
    37  	default CONFIG_GENERIC_ARM
    38 @@ -131,3 +124,10 @@ config CONFIG_ARM_IWMMXT
    39  	select ARCH_HAS_MMU
    40  
    41  endchoice
    42 +
    43 +config USE_BX
    44 +	bool "Use BX in function return"
    45 +	default y
    46 +	depends on !CONFIG_GENERIC_ARM && !CONFIG_ARM610 && !CONFIG_ARM710
    47 +	help
    48 +	  Use BX instruction for THUMB aware architectures.