
446
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
--target=format
Specify an alternative object code format to the system default.
Valid targets include elf32-i386, a.out-i386-linux, efi-app-
ia32, elf32-little, elf32-big, srec, symbolsrec, tekhex, binary,
ihex, and trad-core.
--help
Print help message and then exit. The help message includes a
list of valid targets.
-v, --version
Print version information and then exit.
strip
strip [options] files
Remove symbols from object files, thereby reducing file sizes and
freeing disk space.
Options
-Fbfdname, --target=bfdname
Specify object format for both input and output by binary file
descriptor name bfdname. Use option -h to see a list of
supported formats.
-I bfdname, --input-target=bfdname
Expect object format bfdname for input.
--help
Print help message, then exit.
-K symbol, --keep-symbol=symbol
Delete all symbols except the specified symbol. This option
may be used more than once.
-N symbol, --strip-symbol=symbol
Remove symbol from the source file.
-O bfdname, --output-target=bfdname
Use object format bfdname for output.
-o file
Write stripped object to file instead of replacing the original.
Only one object file at a time may be stripped when using this
option.
-p, --preserve-dates
Preserve access and modification times.
-R section, --remove-section=section
Delete section ...