diff options
Diffstat (limited to 'sys/arch/arm/include')
-rw-r--r-- | sys/arch/arm/include/endian.h | 6 | ||||
-rw-r--r-- | sys/arch/arm/include/exec.h | 6 | ||||
-rw-r--r-- | sys/arch/arm/include/ieee.h | 9 |
3 files changed, 3 insertions, 18 deletions
diff --git a/sys/arch/arm/include/endian.h b/sys/arch/arm/include/endian.h index b5221b6cb5f..1c370350a02 100644 --- a/sys/arch/arm/include/endian.h +++ b/sys/arch/arm/include/endian.h @@ -1,13 +1,9 @@ -/* $OpenBSD: endian.h,v 1.5 2011/03/23 16:54:34 pirofti Exp $ */ +/* $OpenBSD: endian.h,v 1.6 2011/11/08 17:06:51 deraadt Exp $ */ #ifndef _ARM_ENDIAN_H_ #define _ARM_ENDIAN_H_ -#ifdef __ARMEB__ -#define _BYTE_ORDER _BIG_ENDIAN -#else #define _BYTE_ORDER _LITTLE_ENDIAN -#endif #define __STRICT_ALIGNMENT #include <sys/endian.h> diff --git a/sys/arch/arm/include/exec.h b/sys/arch/arm/include/exec.h index bfc0f939471..d2ff44a438d 100644 --- a/sys/arch/arm/include/exec.h +++ b/sys/arch/arm/include/exec.h @@ -1,4 +1,4 @@ -/* $OpenBSD: exec.h,v 1.1 2006/10/02 17:45:30 miod Exp $ */ +/* $OpenBSD: exec.h,v 1.2 2011/11/08 17:06:51 deraadt Exp $ */ /* $NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $ */ /* @@ -38,11 +38,7 @@ #define ARCH_ELFSIZE 32 #define ELF_TARG_CLASS ELFCLASS32 -#ifdef __ARMEB__ -#define ELF_TARG_DATA ELFDATA2MSB -#else #define ELF_TARG_DATA ELFDATA2LSB -#endif #define ELF_TARG_MACH EM_ARM #define _NLIST_DO_ELF diff --git a/sys/arch/arm/include/ieee.h b/sys/arch/arm/include/ieee.h index c0ef9ca2fbd..cf06580e3ef 100644 --- a/sys/arch/arm/include/ieee.h +++ b/sys/arch/arm/include/ieee.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ieee.h,v 1.3 2008/09/07 20:36:06 martynas Exp $ */ +/* $OpenBSD: ieee.h,v 1.4 2011/11/08 17:06:51 deraadt Exp $ */ /* $NetBSD: ieee.h,v 1.2 2001/02/21 17:43:50 bjh21 Exp $ */ /* @@ -118,17 +118,10 @@ struct ieee_single { #ifdef __VFP_FP__ struct ieee_double { -#ifdef __ARMEB__ - u_int dbl_sign:1; - u_int dbl_exp:11; - u_int dbl_frach:20; - u_int dbl_fracl; -#else /* !__ARMEB__ */ u_int dbl_fracl; u_int dbl_frach:20; u_int dbl_exp:11; u_int dbl_sign:1; -#endif /* !__ARMEB__ */ }; #else /* !__VFP_FP__ */ struct ieee_double { |