aboutsummaryrefslogtreecommitdiff
path: root/include/dis-asm.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2006-01-17 17:39:20 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2006-01-17 17:39:20 +0000
commitd99b646536a8d905046ac3aabe8624fd86d56ccc (patch)
treeaca96d472075797ece666b6d6ddb303a0e342633 /include/dis-asm.h
parent6dd55cb711112860860407fe47f18e1ddb17c599 (diff)
downloadgdb-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 'include/dis-asm.h')
-rw-r--r--include/dis-asm.h3
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.