PATCH: Objdump: display file offsets whilst dumping via -s

Nick Clifton nickc@redhat.com
Tue Feb 26 08:43:00 GMT 2008


Hi Guys,

  I am applying the attached patch to extend objdump's new file offset
  display feature so that it works when dumping sections via the -s
  command line option.

Cheers
  Nick

binutils/ChangeLog
2008-02-26  Nick Clifton  <nickc@redhat.com>

	* objdump.c (objdump_print_addr): If displaying file offsets, show
	the offset even if there are no symbols available.
	(dump_section): Display nothing if none of the section is going to
	be dumped.  Display the file offset, if requested, of the location
	from where the dump starts.
	* doc/binutils.texi (objdump): Mention that dumping via the -s
	switch is also affected by the -F option.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils.patch
Type: text/x-patch
Size: 3047 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080226/3335ec64/attachment.bin>


More information about the Binutils mailing list