From d7449b42d3ecdf244e2ba02be9aa58b503524272 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 5 Jan 2002 04:30:46 +0000 Subject: s/BIG_ENDIAN/BFD_ENDIAN_BIG/ --- gdb/d10v-tdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/d10v-tdep.c') diff --git a/gdb/d10v-tdep.c b/gdb/d10v-tdep.c index 4bb9c9d..9ffbb7b 100644 --- a/gdb/d10v-tdep.c +++ b/gdb/d10v-tdep.c @@ -1268,7 +1268,7 @@ print_insn (CORE_ADDR memaddr, struct ui_file *stream) internal_error (__FILE__, __LINE__, "print_insn: no disassembler"); - if (TARGET_BYTE_ORDER == BIG_ENDIAN) + if (TARGET_BYTE_ORDER == BFD_ENDIAN_BIG) tm_print_insn_info.endian = BFD_ENDIAN_BIG; else tm_print_insn_info.endian = BFD_ENDIAN_LITTLE; @@ -1523,7 +1523,7 @@ d10v_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) set_gdbarch_long_double_bit (gdbarch, 8 * TARGET_CHAR_BIT); switch (info.byte_order) { - case BIG_ENDIAN: + case BFD_ENDIAN_BIG: set_gdbarch_float_format (gdbarch, &floatformat_ieee_single_big); set_gdbarch_double_format (gdbarch, &floatformat_ieee_single_big); set_gdbarch_long_double_format (gdbarch, &floatformat_ieee_double_big); -- cgit v1.1