aboutsummaryrefslogtreecommitdiff
path: root/binutils/strip.1
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-01-06 19:49:06 +0000
committerDavid MacKenzie <djm@cygnus>1994-01-06 19:49:06 +0000
commiteae04238574c99672f29fbe7e5fb88d41087a3ea (patch)
tree63b454fa78a0aeb6e9626cb0bb159a11668b652f /binutils/strip.1
parentc477527cbba110e90f3ef2ff059d26b97ec3ed2f (diff)
downloadgdb-eae04238574c99672f29fbe7e5fb88d41087a3ea.zip
gdb-eae04238574c99672f29fbe7e5fb88d41087a3ea.tar.gz
gdb-eae04238574c99672f29fbe7e5fb88d41087a3ea.tar.bz2
* binutils.texi: Add a chapter summarizing the ways to select
aspects of the target for each program. * objdump.c (long_options, usage): Add long equivalents for all remaining short options that lacked them. * binutils.texi objdump.1: Document them. * size.c (usage): Tweak usage message. * size.1: Add missing `=' in examples. * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c: Use "--target=bfdname" as the option to select the BFD target, like nm and size already do. Reserve "--format=format" for textual output selection options, but for now keep old option names as obsolete for backward compatibility. * strings.c (main, strings_object_file, usage): Add --target option. * binutils.texi strings.1: Document it.
Diffstat (limited to 'binutils/strip.1')
-rw-r--r--binutils/strip.126
1 files changed, 12 insertions, 14 deletions
diff --git a/binutils/strip.1 b/binutils/strip.1
index 8ee20f3..2854304 100644
--- a/binutils/strip.1
+++ b/binutils/strip.1
@@ -12,9 +12,9 @@ strip \- Discard symbols from object files.
.SH SYNOPSIS
.B strip
-.RB "[\|" "\-F \fIformat\fP" | \-\-format=\fIformat\fP | \-\-target=\fIformat\fP "\|]"
-.RB "[\|" "\-I \fIformat\fP" | \-\-input\-format=\fIformat\fP "\|]"
-.RB "[\|" "\-O \fIformat\fP" | \-\-output\-format=\fIformat\fP "\|]"
+.RB "[\|" "\-F \fIbfdname\fP" | \-\-target=\fIbfdname\fP "\|]"
+.RB "[\|" "\-I \fIbfdname\fP" | \-\-input\-target=\fIbfdname\fP "\|]"
+.RB "[\|" "\-O \fIbfdname\fP" | \-\-output\-target=\fIbfdname\fP "\|]"
.RB "[\|" \-s | \-\-strip\-all "\|]"
.RB "[\|" \-S | -g | \-\-strip\-debug "\|]"
.RB "[\|" \-x | \-\-discard\-all "\|]"
@@ -40,13 +40,11 @@ rather than writing modified copies under different names.
.SH OPTIONS
.TP
-.B "\-F \fIformat"
+.B "\-F \fIbfdname"
.TP
-.B "\-\-format=\fIformat"
-.TP
-.B "\-\-target=\fIformat"
+.B "\-\-target=\fIbfdname"
Treat the original \fIobjfile\fP as a file with the object
-code format \fIformat\fP, and rewrite it in the same format.
+code format \fIbfdname\fP, and rewrite it in the same format.
.TP
.B \-\-help
@@ -55,17 +53,17 @@ Show a summary of the options to
and exit.
.TP
-.B "\-I \fIformat
+.B "\-I \fIbfdname
.TP
-.B "\-\-input\-format=\fIformat"
+.B "\-\-input\-target=\fIbfdname"
Treat the original \fIobjfile\fP as a file with the object
-code format \fIformat\fP.
+code format \fIbfdname\fP.
.TP
-.B "\-O \fIformat\fP"
+.B "\-O \fIbfdname\fP"
.TP
-.B "\-\-output\-format=\fIformat"
-Replace \fIobjfile\fP with a file in the output format \fIformat\fP.
+.B "\-\-output\-target=\fIbfdname"
+Replace \fIobjfile\fP with a file in the output format \fIbfdname\fP.
.TP
.B \-s