* 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.
This commit is contained in:
Nick Clifton
2008-02-26 08:44:10 +00:00
parent 625af618e7
commit 3276085244
3 changed files with 32 additions and 11 deletions

View File

@@ -1723,7 +1723,8 @@ When disassembling sections, whenever a symbol is displayed, also
display the file offset of the region of data that is about to be
dumped. If zeroes are being skipped, then when disassembly resumes,
tell the user how many zeroes were skipped and the file offset of the
location from where the disassembly resumes.
location from where the disassembly resumes. When dumping sections,
display the file offset of the location from where the dump starts.
@item --file-start-context
@cindex source code context