From d7449b42d3ecdf244e2ba02be9aa58b503524272 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 5 Jan 2002 04:30:46 +0000 Subject: s/BIG_ENDIAN/BFD_ENDIAN_BIG/ --- gdb/defs.h | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gdb/defs.h') diff --git a/gdb/defs.h b/gdb/defs.h index e573854..3e75100 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 #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. */ -- cgit v1.1