From fcbb4886f4cdcba6c18bcae586b0bfa425959350 Mon Sep 17 00:00:00 2001 From: kaloz Date: Wed, 2 Feb 2011 20:19:28 +0000 Subject: [toolchain/uClibc/git]: autodetect ARM variant/ABI setup based on the compiler settings git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25328 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../patches-0.9.32/940-include_arm-asm.h.patch | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch (limited to 'toolchain/uClibc/patches-0.9.32/940-include_arm-asm.h.patch') 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 000000000..955b372ad --- /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" +Cc: Khem Raj +Cc: Bernhard Reutner-Fischer +Cc: Carmelo AMOROSO +--- + 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 ++#include + + #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 ++#include + + #include + /* For Linux we can use the system call table in the header file +-- +1.7.1 + -- cgit v1.2.3