diff options
author | obrien <obrien@FreeBSD.org> | 2006-09-12 06:39:27 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-09-12 06:39:27 +0000 |
commit | e5aca57eb84dd088bcc0e77a028a935018a2a9dc (patch) | |
tree | 2a5403e2caefa9d3daec181b9145453f95fdbafd /gnu | |
parent | d189165b4f2220c2d2c0ccdc80876af422bf5d8b (diff) | |
download | FreeBSD-src-e5aca57eb84dd088bcc0e77a028a935018a2a9dc.zip FreeBSD-src-e5aca57eb84dd088bcc0e77a028a935018a2a9dc.tar.gz |
Configure for for big endian if TARGET_BYTES_BIG_ENDIAN is defined.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/binutils/libiberty/config.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/libiberty/config.h b/gnu/usr.bin/binutils/libiberty/config.h index 13bc9aa..190bee5 100644 --- a/gnu/usr.bin/binutils/libiberty/config.h +++ b/gnu/usr.bin/binutils/libiberty/config.h @@ -7,7 +7,7 @@ /* 1234 = LIL_ENDIAN, 4321 = BIGENDIAN */ -#ifdef __sparc64__ +#if defined(__sparc64__) || defined(__ARMEB__) || defined(TARGET_BIG_ENDIAN) #define BYTEORDER 4321 #else #define BYTEORDER 1234 @@ -325,7 +325,7 @@ /* Define if the host machine stores words of multi-word integers in big-endian order. */ -#ifdef __sparc64__ +#if defined(__sparc64__) || defined(__ARMEB__) || defined(TARGET_BIG_ENDIAN) #define HOST_WORDS_BIG_ENDIAN 1 #endif |