aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2011-02-02 20:19:28 +0000
committerImre Kaloz <kaloz@openwrt.org>2011-02-02 20:19:28 +0000
commit247e9192231dcf9db2c88173b1e76cb18abf9db5 (patch)
tree659ca5c6baee7ffe9f26531f1b4c77cf07e245e3 /toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch
parentfa5259d44296a784c67d88197dc75d8ae860138a (diff)
downloadupstream-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/940-include_arm-asm.h.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch b/toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch
new file mode 100644
index 0000000000..955b372ad8
--- /dev/null
+++ b/toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch
@@ -0,0 +1,39 @@
+The check for __USE_BX__ will be available in bits/arm_asm.h,
+so the latter must be included wherever the former is used.
+
+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>
+---
+ ldso/ldso/arm/dl-startup.h | 1 +
+ libc/sysdeps/linux/arm/sysdep.h | 1 +
+ 2 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/ldso/ldso/arm/dl-startup.h b/ldso/ldso/arm/dl-startup.h
+index a95389d..2dfdaff 100644
+--- a/ldso/ldso/arm/dl-startup.h
++++ b/ldso/ldso/arm/dl-startup.h
+@@ -7,6 +7,7 @@
+ */
+
+ #include <features.h>
++#include <bits/arm_asm.h>
+
+ #if !defined(__thumb__)
+ __asm__(
+diff --git a/libc/sysdeps/linux/arm/sysdep.h b/libc/sysdeps/linux/arm/sysdep.h
+index 013f88c..e498695 100644
+--- a/libc/sysdeps/linux/arm/sysdep.h
++++ b/libc/sysdeps/linux/arm/sysdep.h
+@@ -21,6 +21,7 @@
+ #define _LINUX_ARM_SYSDEP_H 1
+
+ #include <common/sysdep.h>
++#include <bits/arm_asm.h>
+
+ #include <sys/syscall.h>
+ /* For Linux we can use the system call table in the header file
+--
+1.7.1
+