* sparc-tdep.c (sparc_target_architecture_hook): Set target
byte order only when it's selectable.
This commit is contained in:
parent
5fed43aae9
commit
cda8a2bb4f
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user