* targets.c (enum bfd_endian): Define.
authorIan Lance Taylor <ian@airs.com>
Fri, 15 Dec 1995 21:18:43 +0000 (21:18 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 15 Dec 1995 21:18:43 +0000 (21:18 +0000)
commitdc092b6b2af065de4a12e3293296cb01ded35042
treed9e2396c9746a654e0c93be245e477bfbaa23269
parent3ecd62ca7503fe6b816e89e8420da52c0ee7704c
* 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/ChangeLog
bfd/coff-a29k.c