diff options
author | Yann E. MORIN <yann.morin.1998@anciens.enib.fr> | 2011-01-09 01:45:08 +0100 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2011-06-11 00:12:10 -0700 |
commit | 3862c65a05983b2b18cb7884a124a905828f7a18 (patch) | |
tree | 604eee672831b61025636b2c27cf8a4546092816 | |
parent | 7f40574243cfdbecbc5dde1798105027b84b81fc (diff) |
ARM: #include <bits/arm_asm.h> where __USE_BX__ is used
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | ldso/ldso/arm/dl-startup.h | 1 | ||||
-rw-r--r-- | 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 a95389d98..2dfdaffda 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 013f88cdd..e498695be 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 |