aboutsummaryrefslogtreecommitdiff
path: root/binutils/strip.1
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-11-18 16:00:41 +0000
committerIan Lance Taylor <ian@airs.com>1994-11-18 16:00:41 +0000
commit29c0d15c0172df8adb38b087148f1f85a0d4c108 (patch)
treec4da3aa3efa8eb5d9dafce6cc4eacac0902537f6 /binutils/strip.1
parent3f9ef4ffe974cc974e462e057ce7412dbdf7ea59 (diff)
downloadgdb-29c0d15c0172df8adb38b087148f1f85a0d4c108.zip
gdb-29c0d15c0172df8adb38b087148f1f85a0d4c108.tar.gz
gdb-29c0d15c0172df8adb38b087148f1f85a0d4c108.tar.bz2
Thu Nov 17 15:37:19 1994 Mark W. Eichin <eichin@cygnus.com>
* objcopy.c (add_strip_symbol): New function, adds a name to an explicit list of symbols to strip. (is_strip_symbol): New function, reports whether the name argument is in the explicit list. (filter_symbols): Check against is_strip_symbol above all. (strip_main): Recognize -N option. If used, don't default to strip_all. (copy_main): Recognize -N option. (strip_usage): Document -N and --strip-symbol options. (copy_usage): Ditto. * objcopy.1, strip.1, binutils.texi: Document -N and --strip-symbol options.
Diffstat (limited to 'binutils/strip.1')
-rw-r--r--binutils/strip.18
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/strip.1 b/binutils/strip.1
index 5373b9f..e1ec592 100644
--- a/binutils/strip.1
+++ b/binutils/strip.1
@@ -92,6 +92,14 @@ Remove all symbols.
Remove debugging symbols only.
.TP
+.B \-N \fIsymbolname\fR
+.TP
+.B \-\-strip\-symbol=\fIsymbolname
+Remove symbol \fIsymbolname\fP from the source file. This option
+may be given more than once, and may be combined with other strip
+options.
+
+.TP
.B \-x
.TP
.B \-\-discard\-all