* binutils.texi (objdump): Note some limitations of -h section

address printing.
This commit is contained in:
David MacKenzie
1994-01-24 21:31:01 +00:00
parent 5e7eed8d82
commit db2e6adb5b
2 changed files with 23 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Jan 24 13:29:02 1994 David J. Mackenzie (djm@thepub.cygnus.com)
* binutils.texi (objdump): Note some limitations of -h section
address printing.
Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com) Sat Jan 22 16:20:46 1994 Stan Shebs (shebs@andros.cygnus.com)
* Makefile.in (MALLOC): Set to emptiness by default. * Makefile.in (MALLOC): Set to emptiness by default.

View File

@ -731,7 +731,8 @@ objcopy [ -F @var{bfdname} | --target=@var{bfdname} ]
[ -O @var{bfdname} | --output-target=@var{bfdname} ] [ -O @var{bfdname} | --output-target=@var{bfdname} ]
[ -S | --strip-all ] [ -g | --strip-debug ] [ -S | --strip-all ] [ -g | --strip-debug ]
[ -x | --discard-all ] [ -X | --discard-locals ] [ -x | --discard-all ] [ -X | --discard-locals ]
[ -v | --verbose ] [ -V | --version ] [ --help ] [ -b @var{byte} | --byte=@var{byte} ] [ -v | --verbose ]
[ -V | --version ] [ --help ]
@var{infile} [@var{outfile}] @var{infile} [@var{outfile}]
@end smallexample @end smallexample
@ -789,6 +790,13 @@ Do not copy non-global symbols from the source file.
Do not copy compiler-generated local symbols. Do not copy compiler-generated local symbols.
(These usually start with @samp{L} or @samp{.}.) (These usually start with @samp{L} or @samp{.}.)
@item -b @var{byte}
@itemx --byte=@var{byte}
Keep only every @var{byte}th byte of the input file (header data is not
affected). @var{byte} can be in the range from 0 to 3. This option is
useful for creating files to program 4 ROMs to create 32-bit words. It
is typically used with an @code{srec} output target.
@item -V @item -V
@itemx --version @itemx --version
Show the version number of @code{objcopy}. Show the version number of @code{objcopy}.
@ -879,6 +887,15 @@ each of the @var{objfile} files.
Display summary information from the section headers of the Display summary information from the section headers of the
object file. object file.
File segments may be relocated to nonstandard addresses, for example by
using the @samp{-Ttext}, @samp{-Tdata}, or @samp{-Tbss} options to
@code{ld}. However, some object file formats, such as a.out, do not
store the starting address of the file segments. In those situations,
although @code{ld} relocates the sections correctly, using @samp{objdump
-h} to list the file section headers cannot show the correct addresses.
Instead, it shows the usual addresses, which are implicit for the
target.
@item --help @item --help
Print a summary of the options to @code{objdump} and exit. Print a summary of the options to @code{objdump} and exit.