From: John Healy Date: Fri, 3 Aug 2001 22:08:44 +0000 (+0000) Subject: 2001-08-03 John Healy X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8f9d9bd9e96be33517006a2a569c7ed873be6e62;p=binutils-gdb.git 2001-08-03 John Healy Patch suggested by Frank Eigler . * objdump.c (disassemble_data): Fill in section member of the disasm_info structure. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 38630f96624..cabd657bbeb 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2001-08-03 John Healy + + Patch suggested by Frank Eigler . + * objdump.c (disassemble_data): Fill in section member of the + disasm_info structure. + 2001-08-03 Tom Walsh * configure.in: Added --with-windres option. diff --git a/binutils/objdump.c b/binutils/objdump.c index 12a8324b047..151ed85d245 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;