aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
committerAndrew Cagney <cagney@redhat.com>2002-01-05 04:30:46 +0000
commitd7449b42d3ecdf244e2ba02be9aa58b503524272 (patch)
tree6be786acd69b5b5d51e1e02ea6e97cde8592824f /gdb/sh-tdep.c
parentca4976a6949dd6f5276cd48ae593ae862a2ec684 (diff)
downloadgdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.zip
gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.gz
gdb-d7449b42d3ecdf244e2ba02be9aa58b503524272.tar.bz2
s/BIG_ENDIAN/BFD_ENDIAN_BIG/
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c
index 5a555b1..3dc8b06 100644
--- a/gdb/sh-tdep.c
+++ b/gdb/sh-tdep.c
@@ -428,7 +428,7 @@ sh_store_struct_return (CORE_ADDR addr, CORE_ADDR sp)
static int
gdb_print_insn_sh (bfd_vma memaddr, disassemble_info *info)
{
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
return print_insn_sh (memaddr, info);
else
return print_insn_shl (memaddr, info);
@@ -1001,7 +1001,7 @@ sh_extract_return_value (struct type *type, char *regbuf, char *valbuf)
if (len <= 4)
{
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
offset = REGISTER_BYTE (return_register) + 4 - len;
else
offset = REGISTER_BYTE (return_register);
@@ -1009,7 +1009,7 @@ sh_extract_return_value (struct type *type, char *regbuf, char *valbuf)
}
else if (len <= 8)
{
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
offset = REGISTER_BYTE (return_register) + 8 - len;
else
offset = REGISTER_BYTE (return_register);
@@ -1046,7 +1046,7 @@ sh3e_sh4_extract_return_value (struct type *type, char *regbuf, char *valbuf)
}
else if (len <= 4)
{
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
offset = REGISTER_BYTE (return_register) + 4 - len;
else
offset = REGISTER_BYTE (return_register);
@@ -1054,7 +1054,7 @@ sh3e_sh4_extract_return_value (struct type *type, char *regbuf, char *valbuf)
}
else if (len <= 8)
{
- if (TARGET_BYTE_ORDER == BIG_ENDIAN)
+ if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG)
offset = REGISTER_BYTE (return_register) + 8 - len;
else
offset = REGISTER_BYTE (return_register);
@@ -1705,7 +1705,7 @@ sh_do_fp_register (int regnum)
printf_filtered ("\t(raw 0x");
for (j = 0; j < REGISTER_RAW_SIZE (regnum); j++)
{
- register int idx = TARGET_BYTE_ORDER == BIG_ENDIAN ? j
+ register int idx = TARGET_BYTE_ORDER == BFD_ENDIAN_BIG ? j
: REGISTER_RAW_SIZE (regnum) - 1 - j;
printf_filtered ("%02x", (unsigned char) raw_buffer[idx]);
}