]> sourceware.org Git - newlib-cygwin.git/commitdiff
PR binutils/1486
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 17 Jan 2006 17:39:17 +0000 (17:39 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 17 Jan 2006 17:39:17 +0000 (17:39 +0000)
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.

include/ChangeLog
include/dis-asm.h

index fe5e1c16df822251a81b8d0f9ee1eb924877ae49..66589fc949b9874091ef59ad18843ec213962cc4 100644 (file)
@@ -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.
index ddb3426a590f1e472518bd6919e9f3a4be1e0e5f..61b34c3615139eef18f3c93c9edae7394759bd56 100644 (file)
@@ -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.
This page took 0.035363 seconds and 5 git commands to generate.