OSDN Git Service

ARM: detect BX availibility at build time
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>
Sun, 9 Jan 2011 00:45:09 +0000 (01:45 +0100)
committerKhem Raj <raj.khem@gmail.com>
Sat, 11 Jun 2011 07:12:22 +0000 (00:12 -0700)
commit7a246fda8e3bd2067d44e01c30c8ce761dad39a8
treedfff27e27af92783d8f81176ad24717e4fbdf0d2
parent3862c65a05983b2b18cb7884a124a905828f7a18
ARM: detect BX availibility at build time

The "use BX" option is now a suggestion that BX be used if available.
Use a macro to detect if BX is available at build time. If so, and
the user requested it be used, then use it. Otherwise, error out.

Macro courtesy Khem RAJ:
  http://lists.uclibc.org/pipermail/uclibc/2009-April/042301.html

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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
extra/Configs/Config.arm
libc/sysdeps/linux/arm/bits/arm_asm.h