diff options
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/gdb/defs.h b/gdb/defs.h index e573854be24..3e75100a8ba 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -1225,17 +1225,13 @@ extern void *alloca (); #endif /* Not GNU C */ #endif /* alloca not defined */ -/* Get a definition of BIG_ENDIAN and BFD_ENDIAN_LITTLE. */ +/* Get a definition of BFD_ENDIAN_BIG and BFD_ENDIAN_LITTLE. */ /* FIXME: cagney/2001-10-31: GDB should just use BFD's definitions. */ #ifdef HAVE_ENDIAN_H #include <endian.h> #endif -#if !defined (BIG_ENDIAN) -#define BIG_ENDIAN 4321 -#endif - /* Dynamic target-system-dependent parameters for GDB. */ #include "gdbarch.h" #if (GDB_MULTI_ARCH == 0) @@ -1269,7 +1265,7 @@ extern void *alloca (); from byte/word byte order. */ #if !defined (BITS_BIG_ENDIAN) -#define BITS_BIG_ENDIAN (TARGET_BYTE_ORDER == BIG_ENDIAN) +#define BITS_BIG_ENDIAN (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) #endif /* In findvar.c. */ |