diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-12-15 16:53:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-12-15 16:53:24 +0000 |
commit | 778eb05eacb13ba46d6b60d9157fcc32db8433a2 (patch) | |
tree | 2b66c1e99b806a1f85109d0c20fee47368448f96 /gdb/sh-tdep.c | |
parent | 5b6a02bcf409bfba5fafa2e71d2296e2429de038 (diff) | |
download | gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.zip gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.tar.gz gdb-778eb05eacb13ba46d6b60d9157fcc32db8433a2.tar.bz2 |
LITTLE_ENDIAN -> BFD_ENDIAN_LITTLE
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r-- | gdb/sh-tdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 65bc62b..5a555b1 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -1034,7 +1034,7 @@ sh3e_sh4_extract_return_value (struct type *type, char *regbuf, char *valbuf) if (len == 8 && TYPE_CODE (type) == TYPE_CODE_FLT) { DOUBLEST val; - if (TARGET_BYTE_ORDER == LITTLE_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_LITTLE) floatformat_to_doublest (&floatformat_ieee_double_littlebyte_bigword, (char *) regbuf + REGISTER_BYTE (return_register), &val); @@ -1536,7 +1536,7 @@ sh_default_register_virtual_type (int reg_nr) int sh_sh4_register_convertible (int nr) { - if (TARGET_BYTE_ORDER == LITTLE_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_LITTLE) return (gdbarch_tdep (current_gdbarch)->DR0_REGNUM <= nr && nr <= gdbarch_tdep (current_gdbarch)->DR_LAST_REGNUM); else |