* objdump.c (display_file_offsets): New variable.
commitc515c50e987b7232e359854a62dae73f9d2d1580
authorNick Clifton <nickc@redhat.com>
Fri, 22 Feb 2008 09:42:58 +0000 (22 09:42 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 22 Feb 2008 09:42:58 +0000 (22 09:42 +0000)
treecab163159c536adf6a1b879e58cddc5ec70d0d52
parent37a127348152e06550ff94621e73c2d64a024d5d
* objdump.c (display_file_offsets): New variable.
  (long_options): Add -F/--file-offsets.
  (objdump_print_addr_with_sym): If displaying file offsets, print
  the offset of the given address.
  (disassemble_bytes): If displaying file offsets, tell the user how
  many zeroes are skipped and the file offset of the point where
  dumping resumes.
  (disassemble_section): Only display the name of the section if
  data is going to be dumped from it.
  (main): Handle new option.  Produce error messages if the start or
  stop addresses do not make sense.
  * doc/binutils.texi: Document the new feature.
  * NEWS: Mention the new feature.
binutils/ChangeLog
binutils/NEWS
binutils/doc/binutils.texi
binutils/objdump.c