mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-09 10:42:48 +00:00
* 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>
|
Tue Jun 2 02:01:56 1998 Mark Alexander <marka@cygnus.com>
|
||||||
|
|
||||||
* sparc-tdep.c (sparc_target_architecture_hook): New function to
|
* sparc-tdep.c (sparc_target_architecture_hook): New function to
|
||||||
|
@ -1872,8 +1872,10 @@ sparc_target_architecture_hook (ap)
|
|||||||
{
|
{
|
||||||
int i, j;
|
int i, j;
|
||||||
|
|
||||||
|
#ifdef TARGET_BYTE_ORDER_SELECTABLE
|
||||||
if (ap->mach == bfd_mach_sparc_sparclite_le)
|
if (ap->mach == bfd_mach_sparc_sparclite_le)
|
||||||
target_byte_order = LITTLE_ENDIAN;
|
target_byte_order = LITTLE_ENDIAN;
|
||||||
|
#endif
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user