diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-06-10 10:55:58 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-06-10 10:55:58 +0000 |
commit | a7e831079363e3bb45f3172f6e59ba48e335682b (patch) | |
tree | ee4324eac9a9d66f189fab60498ec42b8226b7fc /gnu/usr.bin/binutils/opcodes/disassemble.c | |
parent | 467cb0a471d13c5186a6ee166e60b47c30da64e9 (diff) |
Bring Cygnus versions into the trunk, keeping our local patches
Diffstat (limited to 'gnu/usr.bin/binutils/opcodes/disassemble.c')
-rw-r--r-- | gnu/usr.bin/binutils/opcodes/disassemble.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/opcodes/disassemble.c b/gnu/usr.bin/binutils/opcodes/disassemble.c index f3b222cd8a0..b5d37aed476 100644 --- a/gnu/usr.bin/binutils/opcodes/disassemble.c +++ b/gnu/usr.bin/binutils/opcodes/disassemble.c @@ -63,7 +63,7 @@ disassembler (abfd) #endif #ifdef ARCH_arm case bfd_arch_arm: - if (abfd->xvec->byteorder_big_p) + if (bfd_big_endian (abfd)) disassemble = print_insn_big_arm; else disassemble = print_insn_little_arm; @@ -114,7 +114,7 @@ disassembler (abfd) #endif #ifdef ARCH_mips case bfd_arch_mips: - if (abfd->xvec->byteorder_big_p) + if (bfd_big_endian (abfd)) disassemble = print_insn_big_mips; else disassemble = print_insn_little_mips; @@ -122,7 +122,7 @@ disassembler (abfd) #endif #ifdef ARCH_powerpc case bfd_arch_powerpc: - if (abfd->xvec->byteorder_big_p) + if (bfd_big_endian (abfd)) disassemble = print_insn_big_powerpc; else disassemble = print_insn_little_powerpc; @@ -135,7 +135,7 @@ disassembler (abfd) #endif #ifdef ARCH_sh case bfd_arch_sh: - if (abfd->xvec->byteorder_big_p) + if (bfd_big_endian (abfd)) disassemble = print_insn_sh; else disassemble = print_insn_shl; @@ -143,10 +143,7 @@ disassembler (abfd) #endif #ifdef ARCH_sparc case bfd_arch_sparc: - if (bfd_get_mach (abfd) == bfd_mach_sparc64) - disassemble = print_insn_sparc64; - else - disassemble = print_insn_sparc; + disassemble = print_insn_sparc; break; #endif #ifdef ARCH_w65 |