diff options
-rw-r--r-- | binutils/binutils.texi | 9 | ||||
-rw-r--r-- | binutils/objdump.1 | 8 |
2 files changed, 16 insertions, 1 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi index 4d50e72..5c977bd 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -929,7 +929,7 @@ objdump [ -a | --archive-headers ] [ -f | --file-headers ] [ -h | --section-headers | --headers ] [ -i | --info ] [ -j @var{section} | --section=@var{section} ] - [ -l | --line-numbers ] + [ -l | --line-numbers ] [ -S | --source ] [ -m @var{machine} | --architecture=@var{machine} ] [ -r | --reloc ] [ -R | --dynamic-reloc ] [ -s | --full-contents ] [ --stabs ] @@ -1061,6 +1061,13 @@ libraries. @cindex object file sections Display the full contents of any sections requested. +@item -S +@itemx --source +@cindex source disassembly +@cindex disassembly, with source +Display source code intermixed with disassembly, if possible. Implies +@samp{-d}. + @item --stabs @cindex stab @cindex .stab diff --git a/binutils/objdump.1 b/binutils/objdump.1 index 4a9da61..f5beb33 100644 --- a/binutils/objdump.1 +++ b/binutils/objdump.1 @@ -41,6 +41,7 @@ objdump \- display information from object files. .RB "[\|" \-r | \-\-reloc "\|]" .RB "[\|" \-R | \-\-dynamic\-reloc "\|]" .RB "[\|" \-s | \-\-full\-contents "\|]" +.RB "[\|" \-S | \-\-source "\|]" .RB "[\|" \-\-stabs "\|]" .RB "[\|" \-t | \-\-syms "\|]" .RB "[\|" \-T | \-\-dynamic\-syms "\|]" @@ -228,6 +229,13 @@ libraries. Display the full contents of any sections requested. .TP +.B \-S +.TP +.B \-\-source +Display source code intermixed with disassembly, if possible. Implies +\fB-d\fP. + +.TP .B \-\-stabs Display the contents of the .stab, .stab.index, and .stab.excl sections from an ELF file. This is only useful on systems (such as |