2001-08-03 John Healy <jhealy@redhat.com>

Patch suggested by Frank Eigler <fche@redhat.com>.
        * objdump.c (disassemble_data): Fill in section member of the
        disasm_info structure.
This commit is contained in:
John Healy 2001-08-03 22:08:44 +00:00
parent 455ecc7291
commit 8f9d9bd9e9
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2001-08-03 John Healy <jhealy@redhat.com>
Patch suggested by Frank Eigler <fche@redhat.com>.
* objdump.c (disassemble_data): Fill in section member of the
disasm_info structure.
2001-08-03 Tom Walsh <tom@cyberiansoftware.com> 2001-08-03 Tom Walsh <tom@cyberiansoftware.com>
* configure.in: Added --with-windres option. * configure.in: Added --with-windres option.

View file

@ -1736,6 +1736,7 @@ disassemble_data (abfd)
disasm_info.buffer = data; disasm_info.buffer = data;
disasm_info.buffer_vma = section->vma; disasm_info.buffer_vma = section->vma;
disasm_info.buffer_length = datasize; disasm_info.buffer_length = datasize;
disasm_info.section = section;
if (start_address == (bfd_vma) -1 if (start_address == (bfd_vma) -1
|| start_address < disasm_info.buffer_vma) || start_address < disasm_info.buffer_vma)
addr_offset = 0; addr_offset = 0;