The specification for "strip" is as specified in the SUS but with the following differences as listed below.
Treat the original objfile as a file with the object code bfdname, and rewrite it in the same .
Treat the original objfile as a file with the object code bfdname.
Replace objfile with a file in the output bfdname.
Remove the named section from the file. This option may be given more than once. Note that using this option inappropriately may make the object file unusable.
Remove all symbols.
Remove debugging symbols only.
Strip all symbols that are not needed for relocation processing.
Remove symbol symbolname from the source file. This option may be given more than once, and may be combined with other strip options.
Put the stripped output in file, rather than replacing the existing file. When this argument is used, only one objfile argument may be specified.
Preserve the access and modification dates of the file.
Remove non-global symbols.
Remove compiler-generated local symbols. (These usually start with `L' or `.'.)
Copy only symbol symbolname from the source file. This option may be given more than once.
Do not copy symbol symbolname from the source file. This option may be given more than once, and may be combined with strip options other than -K.
Verbose output: list all object files modified. In the case of archives, strip -v lists all members of the archive.
Show the version number for strip and exit.