aboutsummaryrefslogtreecommitdiff
path: root/gdb/sparc-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-12-15 16:53:24 +0000
committerAndrew Cagney <cagney@redhat.com>2001-12-15 16:53:24 +0000
commit778eb05eacb13ba46d6b60d9157fcc32db8433a2 (patch)
tree2b66c1e99b806a1f85109d0c20fee47368448f96 /gdb/sparc-tdep.c
parent5b6a02bcf409bfba5fafa2e71d2296e2429de038 (diff)
downloadgdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.zip
gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.tar.gz
gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.tar.bz2
LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE
Diffstat (limited to 'gdb/sparc-tdep.c')
-rw-r--r--gdb/sparc-tdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sparc-tdep.c b/gdb/sparc-tdep.c
index 0a1d576..1910b1b 100644
--- a/gdb/sparc-tdep.c
+++ b/gdb/sparc-tdep.c
@@ -2063,7 +2063,7 @@ sparc32_extract_return_value (struct type *type, char *regbuf, char *valbuf)
memcpy (valbuf,
&regbuf[O0_REGNUM * regsize +
(typelen >= regsize
- || TARGET_BYTE_ORDER == LITTLE_ENDIAN ? 0
+ || TARGET_BYTE_ORDER == BFD_ENDIAN_LITTLE ? 0
: regsize - typelen)],
typelen);
}
@@ -2202,7 +2202,7 @@ sparc_target_architecture_hook (const bfd_arch_info_type *ap)
{
if (TARGET_BYTE_ORDER_SELECTABLE_P)
{
- target_byte_order = LITTLE_ENDIAN;
+ target_byte_order = BFD_ENDIAN_LITTLE;
bi_endian = 1;
}
else