last? remaining BIG_ENDIAN switch

This commit is contained in:
Andrew Cagney 2002-01-06 04:50:56 +00:00
parent 79e10fabfc
commit a9011d31b6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-01-05 Andrew Cagney <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN
with BFD_ENDIAN_BIG.
2002-01-05 Andrew Cagney <ac131313@redhat.com>
* configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>.

View File

@ -1774,7 +1774,7 @@ rs6000_do_registers_info (int regnum, int fpregs)
printf_filtered ("\t(raw 0x");
for (j = 0; j < REGISTER_RAW_SIZE (i); j++)
{
register int idx = TARGET_BYTE_ORDER == BIG_ENDIAN ? j
register int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j
: REGISTER_RAW_SIZE (i) - 1 - j;
printf_filtered ("%02x", (unsigned char) raw_buffer[idx]);
}