From dc092b6b2af065de4a12e3293296cb01ded35042 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 15 Dec 1995 21:18:43 +0000 Subject: * targets.c (enum bfd_endian): Define. (bfd_target): Rename byteorder_big_p to byteorder, and change it from boolean to enum bfd_endian. Change header_byteorder_big_p correspondingly. * bfd-in.h (bfd_big_endian, bfd_little_endian): New macros. (bfd_header_big_endian, bfd_header_little_endian): New macros. * bfd-in2.h: Rebuild. * All targets: Change initialization of byteorder and header_byteorder to use enum bfd_endian values rather than booleans. * All files: Change all references to byteorder_big_p and header_byteorder_big_p to use new bfd_*_endian macros. --- bfd/coff-a29k.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bfd/coff-a29k.c') diff --git a/bfd/coff-a29k.c b/bfd/coff-a29k.c index 7b0f8e8..3ceabfb 100644 --- a/bfd/coff-a29k.c +++ b/bfd/coff-a29k.c @@ -585,8 +585,8 @@ const bfd_target a29kcoff_big_vec = { "coff-a29k-big", /* name */ bfd_target_coff_flavour, - true, /* data byte order is big */ - true, /* header byte order is big */ + BFD_ENDIAN_BIG, /* data byte order is big */ + BFD_ENDIAN_BIG, /* header byte order is big */ (HAS_RELOC | EXEC_P | /* object flags */ HAS_LINENO | HAS_DEBUG | -- cgit v1.1