diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/objdump.c | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 38630f9..cabd657 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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> * configure.in: Added --with-windres option. diff --git a/binutils/objdump.c b/binutils/objdump.c index 12a8324..151ed85 100644 --- a/binutils/objdump.c +++ b/binutils/objdump.c @@ -1736,6 +1736,7 @@ disassemble_data (abfd) disasm_info.buffer = data; disasm_info.buffer_vma = section->vma; disasm_info.buffer_length = datasize; + disasm_info.section = section; if (start_address == (bfd_vma) -1 || start_address < disasm_info.buffer_vma) addr_offset = 0; |