Red Hat ENTERPRISE LINUX 4 - USING BINUTILS Using Instructions page 40

Using binutils, the gnu binary utilities
Hide thumbs Also See for ENTERPRISE LINUX 4 - USING BINUTILS:
Table of Contents

Advertisement

34
-s
-strip-all
Remove all symbols.
-g
-S
-d
-strip-debug
Remove debugging symbols only.
-strip-unneeded
Remove all symbols that are not needed for relocation processing.
-K
symbolname
-keep-symbol=
symbolname
Keep only symbol
-N
symbolname
-strip-symbol=
symbolname
Remove symbol
and may be combined with strip options other than
-o
file
Put the stripped output in
used, only one
objfile
-p
-preserve-dates
Preserve the access and modification dates of the file.
-w
-wildcard
Permit regular expressions in
mark (?), asterisk (*), backslash (\) and square brackets ([]) operators can be used anywhere in
the symbol name. If the first character of the symbol name is the exclamation point (!) then the
sense of the switch is reversed for that symbol. For example:
-w -K !foo -K fo*
would cause strip to only keep symbols that start with the letters "fo", but to discard the symbol
"foo".
-x
-discard-all
Remove non-global symbols.
-X
-discard-locals
Remove compiler-generated local symbols. (These usually start with
from the source file. This option may be given more than once.
symbolname
from the source file. This option may be given more than once,
symbolname
, rather than replacing the existing file. When this argument is
file
argument may be specified.
symbolname
.
-K
s used in other command line options. The question
Chapter 9. strip
or
.)
L
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterprise linux 4

Table of Contents