aboutsummaryrefslogtreecommitdiff
path: root/include
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
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')
-rw-r--r--include/ChangeLog6
-rw-r--r--include/dis-asm.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index fe5e1c1..66589fc 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,9 @@
+2006-01-17 Andreas Schwab <schwab@suse.de>
+
+ PR binutils/1486
+ * dis-asm.h (struct disassemble_info): Add
+ disassembler_needs_relocs.
+
2006-01-09 Bob Wilson <bob.wilson@acm.org>
* xtensa-config.h (XCHAL_HAVE_MUL32_HIGH): Define.
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.