diff options
author | Roland Pesch <pesch@cygnus> | 1992-08-08 01:13:23 +0000 |
---|---|---|
committer | Roland Pesch <pesch@cygnus> | 1992-08-08 01:13:23 +0000 |
commit | 1815e42cc3cbf95cd12055515a85a707ba7dc764 (patch) | |
tree | 87b1fc7b507e62dcafe80f56768bfc7908451f12 /binutils/binutils.texi | |
parent | 426fad1ef99828c1928beb83efbbb0fd312e515a (diff) | |
download | gdb-1815e42cc3cbf95cd12055515a85a707ba7dc764.zip gdb-1815e42cc3cbf95cd12055515a85a707ba7dc764.tar.gz gdb-1815e42cc3cbf95cd12055515a85a707ba7dc764.tar.bz2 |
Strip has mutated; remove all existing option documentation, document
only -v (verbose).
Diffstat (limited to 'binutils/binutils.texi')
-rw-r--r-- | binutils/binutils.texi | 45 |
1 files changed, 6 insertions, 39 deletions
diff --git a/binutils/binutils.texi b/binutils/binutils.texi index d53cbc1..226e586 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -879,17 +879,14 @@ Display version number information on @code{size} itself. @kindex strip @cindex removing symbols @cindex discarding symbols +@cindex symbols, discarding @smallexample - strip [ -s | +strip-all ] [ -g | -S | +strip-debug ] - [ -x | +discard-all ] [ -X | +discard-locals ] - [ -T @var{bfdname} ] - @var{objfiles}@dots{} + strip [ -v ] @var{objfiles}@dots{} @end smallexample GNU @code{strip} will discard all symbols from object files -@var{objfiles}, if no options are specified; or only certain symbols, -depending on its command-line options. +@var{objfiles}. The list of object files may include archives. @code{strip} will not execute unless at least one object file is listed. @@ -898,40 +895,10 @@ depending on its command-line options. rather than writing modified copies under different names. @end quotation -The long and short forms of options, shown here as alternatives, are -equivalent. - @table @code -@item -s -@itemx +strip-all -@cindex all symbols, discarding -This is the default case: strip all symbol entries from @var{objfiles}. - -@item -g -@itemx -S -@itemx +strip-debug -@cindex debugging symbols, discarding -Discard only debugging symbol information from @var{objfiles}. - -@item -x -@itemx +discard-all -@cindex local symbols, discarding -Discard all symbols local to each file in @var{objfiles}. -@emph{WARNING:} Note that @code{+discard-all} discards only @emph{local} -symbols, in spite of its name. - -@item -X -@itemx +discard-locals -Discard local symbols starting with @samp{L} from each file in -@var{objfiles}. (Some compilers produce internally-used symbols that -begin with @samp{L}.) - -@item -T @var{bfdname} -@cindex object code format -You can specify a particular object-code format @var{bfdname} for -@var{objfiles}. This may not be necessary; @var{strip} can automatically -recognize many formats. @xref{objdump}, for information on listing -available formats. +@item -v +Verbose operation: list all object files modified. In the case of +archives, @samp{strip -v} will list all members of the archive. @end table @node Index, , strip, Top |