summaryrefslogtreecommitdiffstats
path: root/gdb/sparcl-tdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/sparcl-tdep.c')
-rw-r--r--gdb/sparcl-tdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparcl-tdep.c b/gdb/sparcl-tdep.c
index 0a88e5af60..87351f11c1 100644
--- a/gdb/sparcl-tdep.c
+++ b/gdb/sparcl-tdep.c
@@ -622,7 +622,7 @@ download (char *target_name, char *args, int from_tty,
sizeof (marker));
if (strncmp (marker.signature, "DaTa", 4) == 0)
{
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
section_address = bfd_getb32 (marker.sdata);
else
section_address = bfd_getl32 (marker.sdata);
OpenPOWER on IntegriCloud