* sparc-tdep.c (sparc_target_architecture_hook): Set target

byte order only when it's selectable.
This commit is contained in:
Mark Alexander 1998-06-03 02:08:06 +00:00
parent 5fed43aae9
commit cda8a2bb4f
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Tue Jun 2 19:05:04 1998 Mark Alexander <marka@cygnus.com>
* sparc-tdep.c (sparc_target_architecture_hook): Set target
byte order only when it's selectable.
Tue Jun 2 02:01:56 1998 Mark Alexander <marka@cygnus.com>
* sparc-tdep.c (sparc_target_architecture_hook): New function to

View File

@ -1872,8 +1872,10 @@ sparc_target_architecture_hook (ap)
{
int i, j;
#ifdef TARGET_BYTE_ORDER_SELECTABLE
if (ap->mach == bfd_mach_sparc_sparclite_le)
target_byte_order = LITTLE_ENDIAN;
#endif
return 1;
}