Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2006-01-17 20:39:17 +0300
committerAndreas Schwab <schwab@linux-m68k.org>2006-01-17 20:39:17 +0300
commit2f80ebc92748fda99b55086e7a71e49815a2a338 (patch)
treee9543f60128e918cfd9d7241974a42b23ec55929 /include/dis-asm.h
parent4d7c0b51bfa866c87f8ce02d972a4ee141aea711 (diff)
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 ddb3426a5..61b34c361 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.