diff options
author | Ian Lance Taylor <ian@airs.com> | 1992-08-29 00:16:47 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1992-08-29 00:16:47 +0000 |
commit | 8ae35e59193c5677ad779f1d4468b7946df2bf01 (patch) | |
tree | 04fcdf22a940efd7ae0bc2461b3c91bebc25e6dc /gas/config/obj-bout.h | |
parent | e41a1546e10d7d4794abed2df54cc25101dc2c18 (diff) | |
download | gdb-8ae35e59193c5677ad779f1d4468b7946df2bf01.zip gdb-8ae35e59193c5677ad779f1d4468b7946df2bf01.tar.gz gdb-8ae35e59193c5677ad779f1d4468b7946df2bf01.tar.bz2 |
Fri Aug 28 16:25:22 1992 Ian Lance Taylor (ian@cygnus.com)
* obj-bout.h, obj-bout.c (obj_header_append, obj_symbol_to_chars),
tc-i960.c (md_ri_to_chars): Always output bout object file in
little endian byte order (used to use endianness of host).
Diffstat (limited to 'gas/config/obj-bout.h')
-rw-r--r-- | gas/config/obj-bout.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gas/config/obj-bout.h b/gas/config/obj-bout.h index 8489004..bb6460c 100644 --- a/gas/config/obj-bout.h +++ b/gas/config/obj-bout.h @@ -45,6 +45,9 @@ * are in host byte-order: object files CANNOT be lifted from a * little-end host and used on a big-endian (or vice versa) without * modification. + * ==> THIS IS NO LONGER TRUE USING BFD. WE CAN GENERATE ANY BYTE ORDER + * FOR THE HEADER, AND READ ANY BYTE ORDER. PREFERENCE WOULD BE TO + * USE LITTLE-ENDIAN BYTE ORDER THROUGHOUT, REGARDLESS OF HOST. <== * * o The downloader ('comm960') takes care to generate a pseudo-header * with correct (i80960) byte-ordering before shipping text and data @@ -57,11 +60,6 @@ #include "targ-cpu.h" -/* bout uses host byte order for headers */ -#ifdef CROSS_COMPILE -#undef CROSS_COMPILE -#endif /* CROSS_COMPILE */ - /* We want \v. */ #define BACKSLASH_V 1 |