diff options
author | Nick Clifton <nickc@redhat.com> | 2005-03-01 15:18:44 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-03-01 15:18:44 +0000 |
commit | ce04548af9eafaa2034f081247a21ff3fcfede15 (patch) | |
tree | be5ab939f6d3c9eb1219b097fa1fa5ef177a3021 /bfd/hash.c | |
parent | b15c27d7c12d8c8d500a4f96693f6a7cff86aeaa (diff) | |
download | gdb-ce04548af9eafaa2034f081247a21ff3fcfede15.zip gdb-ce04548af9eafaa2034f081247a21ff3fcfede15.tar.gz gdb-ce04548af9eafaa2034f081247a21ff3fcfede15.tar.bz2 |
objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:
(struct objdump_disasm_info): Add 'reloc' field.
(disassemble_bytes): Fix check for when an insn has a reloc associated with it.
Improve comment explaining why the use of octets is wrong. Set the 'reloc'
field in objdump_disasm_info structure.
(objdump_print_addr): Use new 'reloc' field to lookup the correct address for
the symbol associated with the current instruction's relocation.
(disassemble_info): Initialise 'reloc' field.
gas/arm/inst.d: Allow for ARM ports which decode the reloc associated with
branches and so show the exact symbolic destination address rather than an
offset from the start of the section.
gas/arm/pic.d: Likewise.
Diffstat (limited to 'bfd/hash.c')
0 files changed, 0 insertions, 0 deletions