diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2006-01-17 17:39:20 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2006-01-17 17:39:20 +0000 |
commit | d99b646536a8d905046ac3aabe8624fd86d56ccc (patch) | |
tree | aca96d472075797ece666b6d6ddb303a0e342633 /opcodes/disassemble.c | |
parent | 6dd55cb711112860860407fe47f18e1ddb17c599 (diff) | |
download | gdb-d99b646536a8d905046ac3aabe8624fd86d56ccc.zip gdb-d99b646536a8d905046ac3aabe8624fd86d56ccc.tar.gz gdb-d99b646536a8d905046ac3aabe8624fd86d56ccc.tar.bz2 |
PR binutils/1486
binutils/:
* configure.in: Don't define DISASSEMBLER_NEEDS_RELOCS.
* configure: Regenerate.
* objdump.c (struct objdump_disasm_info): Don't check for
DISASSEMBLER_NEEDS_RELOCS.
(objdump_print_addr): Likewise.
(disassemble_bytes): Check disassembler_needs_relocs from
disassemble_info at run-time instead of DISASSEMBLER_NEEDS_RELOCS
at compile-time.
(disassemble_section): Likewise.
(disassemble_data): Initialize it.
include/:
* dis-asm.h (struct disassemble_info): Add
disassembler_needs_relocs.
objdump/:
* disassemble.c (disassemble_init_for_target): Set
disassembler_needs_relocs for bfd_arch_arm.
Diffstat (limited to 'opcodes/disassemble.c')
-rw-r--r-- | opcodes/disassemble.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/opcodes/disassemble.c b/opcodes/disassemble.c index db5b90b..5cef902 100644 --- a/opcodes/disassemble.c +++ b/opcodes/disassemble.c @@ -442,6 +442,7 @@ disassemble_init_for_target (struct disassemble_info * info) #ifdef ARCH_arm case bfd_arch_arm: info->symbol_is_valid = arm_symbol_is_valid; + info->disassembler_needs_relocs = TRUE; break; #endif #ifdef ARCH_ia64 |