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 /include/dis-asm.h | |
parent | 6dd55cb711112860860407fe47f18e1ddb17c599 (diff) | |
download | fsf-binutils-gdb-d99b646536a8d905046ac3aabe8624fd86d56ccc.zip fsf-binutils-gdb-d99b646536a8d905046ac3aabe8624fd86d56ccc.tar.gz fsf-binutils-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 'include/dis-asm.h')
-rw-r--r-- | include/dis-asm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/dis-asm.h b/include/dis-asm.h index ddb3426..61b34c3 100644 --- a/include/dis-asm.h +++ b/include/dis-asm.h @@ -172,6 +172,9 @@ typedef struct disassemble_info { alignment. */ unsigned int skip_zeroes_at_end; + /* Whether the disassembler always needs the relocations. */ + bfd_boolean disassembler_needs_relocs; + /* Results from instruction decoders. Not all decoders yet support this information. This info is set each time an instruction is decoded, and is only valid for the last such instruction. |