aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-a29k.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-12-15 21:18:43 +0000
committerIan Lance Taylor <ian@airs.com>1995-12-15 21:18:43 +0000
commitdc092b6b2af065de4a12e3293296cb01ded35042 (patch)
treed9e2396c9746a654e0c93be245e477bfbaa23269 /bfd/coff-a29k.c
parent3ecd62ca7503fe6b816e89e8420da52c0ee7704c (diff)
downloadgdb-dc092b6b2af065de4a12e3293296cb01ded35042.zip
gdb-dc092b6b2af065de4a12e3293296cb01ded35042.tar.gz
gdb-dc092b6b2af065de4a12e3293296cb01ded35042.tar.bz2
* 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.
Diffstat (limited to 'bfd/coff-a29k.c')
-rw-r--r--bfd/coff-a29k.c4
1 files changed, 2 insertions, 2 deletions
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 |