arm: move check for BX to its own header
commit8b8ad6ed0fb73ff5c331076ee82ff644d0b8cb07
authorYann E. MORIN <yann.morin.1998@free.fr>
Thu, 11 Apr 2013 21:02:03 +0000 (11 23:02 +0200)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 12 Jun 2014 15:08:39 +0000 (12 17:08 +0200)
tree886eef6ea0e50dcc15d8579463e23688e6951cee
parent3b688f42f091e04d050ec5ab71e29847def273e9
arm: move check for BX to its own header

As Will noticed, the header this check is currently done in
is asm-only, and is not meant to be included from C code.
This breaks compilation when compiled for a Thumb2-aware CPU.

Move the BX check to its own header, and revert 7a246fd.

Reported-by: Will Newton <will.newton@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Will Newton <will.newton@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
15 files changed:
ldso/ldso/arm/dl-startup.h
ldso/ldso/arm/resolve.S
libc/string/arm/_memcpy.S
libc/string/arm/memcmp.S
libc/string/arm/memset.S
libc/string/arm/strcmp.S
libc/string/arm/strlen.S
libc/sysdeps/linux/arm/__longjmp.S
libc/sysdeps/linux/arm/bits/arm_asm.h
libc/sysdeps/linux/arm/bits/arm_bx.h [new file with mode: 0644]
libc/sysdeps/linux/arm/clone.S
libc/sysdeps/linux/arm/mmap64.S
libc/sysdeps/linux/arm/syscall-eabi.S
libc/sysdeps/linux/arm/sysdep.h
libc/sysdeps/linux/arm/vfork.S