aboutsummaryrefslogtreecommitdiff
path: root/binutils/binutils.texi
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-06-16 02:24:36 +0000
committerNick Clifton <nickc@redhat.com>1999-06-16 02:24:36 +0000
commitdd92f6397700e5478ae02b7dfad416181d04ef22 (patch)
tree74e2b69ee93ec598cdf7d160d9ac43efcd37c34b /binutils/binutils.texi
parent5ba624b0f4cd66a3a8ed5980aef3fcf14e0f49ca (diff)
downloadgdb-dd92f6397700e5478ae02b7dfad416181d04ef22.zip
gdb-dd92f6397700e5478ae02b7dfad416181d04ef22.tar.gz
gdb-dd92f6397700e5478ae02b7dfad416181d04ef22.tar.bz2
Add -M command line switch to objdump - text of switch is passed on to disassembler
Add support for register name set selection ot ARM disassembler.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r--binutils/binutils.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 73bba55..535df3f 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -1137,6 +1137,7 @@ objdump [ -a | --archive-headers ]
[ -j @var{section} | --section=@var{section} ]
[ -l | --line-numbers ] [ -S | --source ]
[ -m @var{machine} | --architecture=@var{machine} ]
+ [ -M @var{options} | --disassembler-options=@var{options}]
[ -p | --private-headers ]
[ -r | --reloc ] [ -R | --dynamic-reloc ]
[ -s | --full-contents ] [ --stabs ]
@@ -1295,6 +1296,21 @@ can be useful when disassembling object files which do not describe
architecture information, such as S-records. You can list the available
architectures with the @samp{-i} option.
+@item -M @var{options}
+@itemx --disassembler-options=@var{options}
+Pass target specific information to the disassembler. Only supported on
+some targets.
+
+If the target is an ARM architecture then this switch can be used to
+select which register name set is used during disassembler. Specifying
+@samp{--disassembler-options=reg-name-std} (the default) will select the
+register names as used in ARM's instruction set documentation, but with
+register 13 called 'sp', register 14 called 'lr' and register 15 called
+'pc'. Specifying @samp{--disassembler-options=reg-names-apcs} will
+select the name set used by the ARM Procedure Call Standard, whilst
+specifying @samp{--disassembler-options=reg-names-raw} will just use
+@samp{r} followed by the register number.
+
@item -p
@itemx --private-headers
Print information that is specific to the object file format. The exact