aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.1
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/objdump.1')
-rw-r--r--binutils/objdump.116
1 files changed, 14 insertions, 2 deletions
diff --git a/binutils/objdump.1 b/binutils/objdump.1
index 4050c4b..4a9da61 100644
--- a/binutils/objdump.1
+++ b/binutils/objdump.1
@@ -22,6 +22,7 @@ objdump \- display information from object files.
.I bfdname\c
\&\|]
.RB "[\|" \-d | \-\-disassemble "\|]"
+.RB "[\|" \-D | \-\-disassemble-all "\|]"
.RB "[\|" \-f | \-\-file\-headers "\|]"
.RB "[\|" \-h | \-\-section\-headers
.RB "| " \-\-headers "\|]"
@@ -127,6 +128,15 @@ Display the assembler mnemonics for the machine
instructions from \c
.I objfile\c
\&.
+This option only disassembles those sections which are
+expected to contain instructions.
+
+.TP
+.B \-D
+.TP
+.B \-\-disassemble-all
+Like \fB\-d\fP, but disassemble the contents of all sections, not just
+those expected to contain instructions.
.TP
.B \-f
@@ -178,7 +188,7 @@ Display information only for section \c
.B \-\-line\-numbers
Label the display (using debugging information) with the filename
and source line numbers corresponding to the object code shown.
-Only useful with \fB\-d\fP.
+Only useful with \fB\-d\fP or \fB\-D\fP.
.TP
.BI "\-m " "machine"\c
@@ -199,7 +209,9 @@ option.
.B \-r
.TP
.B \-\-reloc
-Print the relocation entries of the file.
+Print the relocation entries of the file. If used with \fB\-d\fP or
+\fB\-d\fP, the relocations are printed interspersed with the
+disassembly.
.TP
.B \-R