diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-06-24 20:49:28 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-06-24 20:49:28 +0000 |
commit | 67c8c9014191526995d1e815a089298b1203e84f (patch) | |
tree | e55180634fc620bf11f709e1085c6bb92ca13bc7 /binutils/binutils.texi | |
parent | 58f8c779f7d447cc7d7842a7e75957dbe00b0c9e (diff) | |
download | gdb-67c8c9014191526995d1e815a089298b1203e84f.zip gdb-67c8c9014191526995d1e815a089298b1203e84f.tar.gz gdb-67c8c9014191526995d1e815a089298b1203e84f.tar.bz2 |
* objdump.c (endian): New static variable.
(usage): Mention -EB/-EL/--endian.
(long_options): Add "endian".
(disassemble_data): If endianness was specified, replace
abfd->xvec with a copy of itself with the given endianness.
(main): Handle -EB/-EL/--endian.
* binutils.texi, objdump.1: Mention -EB/-EL/--endian.
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r-- | binutils/binutils.texi | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi index 8014592..3b0f486 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -1017,6 +1017,7 @@ Show a summary of the options to @code{objcopy}. objdump [ -a | --archive-headers ] [ -b @var{bfdname} | --target=@var{bfdname} ] [ --debugging ] [ -d | --disassemble ] [ -D | --disassemble-all ] + [ -EB | -EL | --endian=@{big | little @} ] [ -f | --file-headers ] [ -h | --section-headers | --headers ] [ -i | --info ] [ -j @var{section} | --section=@var{section} ] @@ -1089,6 +1090,15 @@ expected to contain instructions. Like @samp{-d}, but disassemble the contents of all sections, not just those expected to contain instructions. +@item -EB +@itemx -EL +@itemx --endian=@{big|little@} +@cindex endianness +@cindex disassembly endianness +Specify the endianness of the object files. This only affects +disassembly. This can be useful when disassembling a file format which +does not describe endianness information, such as S-records. + @item -f @itemx --file-header @cindex object file header @@ -1136,9 +1146,11 @@ Only useful with @samp{-d}, @samp{-D}, or @samp{-r}. @item -m @var{machine} @itemx --architecture=@var{machine} @cindex architecture -Specify that the object files @var{objfile} are for architecture -@var{machine}. You can list available architectures using the @samp{-i} -option. +@cindex disassembly architecture +Specify the architecture to use when disassembling object files. This +can be useful when disasembling object files which do not describe +architecture information, such as S-records. You can list the available +architectures with the @samp{-i} option. @item -r @itemx --reloc |