mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-02 19:46:09 +08:00
* sparc-tdep.c (sparc_target_architecture_hook): Set target
byte order only when it's selectable.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user