aboutsummaryrefslogtreecommitdiff
path: root/binutils/objcopy.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/objcopy.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/objcopy.1')
-rw-r--r--binutils/objcopy.118
1 files changed, 9 insertions, 9 deletions
diff --git a/binutils/objcopy.1 b/binutils/objcopy.1
index 40bfb1a..74e718e 100644
--- a/binutils/objcopy.1
+++ b/binutils/objcopy.1
@@ -15,9 +15,9 @@ objcopy\(em\&copy and translate object files
.na
.TP
.B objcopy
-.RB "[\|" \-F\ \fIformat\fB\ |\ \-\-format=\fIformat\fR "\|]"
-.RB "[\|" \-I\ \fIformat\fB\ |\ \-\-input\-format=\fIformat\fR "\|]"
-.RB "[\|" \-O\ \fIformat\fB\ |\ \-\-output\-format=\fIformat\fR "\|]"
+.RB "[\|" \-F\ \fIbfdname\fB\ |\ \-\-target=\fIbfdname\fR "\|]"
+.RB "[\|" \-I\ \fIbfdname\fB\ |\ \-\-input\-target=\fIbfdname\fR "\|]"
+.RB "[\|" \-O\ \fIbfdname\fB\ |\ \-\-output\-target=\fIbfdname\fR "\|]"
.RB "[\|" \-S\ |\ \-\-strip\-all\fR "\|]"
.RB "[\|" \-g\ |\ \-\-strip\-debug\fR "\|]"
.RB "[\|" \-x\ |\ \-\-discard\-all\fR "\|]"
@@ -57,18 +57,18 @@ name of the input file.
.SH OPTIONS
.TP
-.B \-I \fIformat\fR, \fB\-\-input\-format=\fIformat
+.B \-I \fIbfdname\fR, \fB\-\-input\-target=\fIbfdname
Consider the source file's object format to be
-.IR format ,
+.IR bfdname ,
rather than attempting to deduce it.
.TP
-.B \-O \fIformat\fR, \fB\-\-output\-format=\fIformat
+.B \-O \fIbfdname\fR, \fB\-\-output\-target=\fIbfdname
Write the output file using the object format
-.IR format .
+.IR bfdname .
.TP
-.B \-F \fIformat\fR, \fB\-\-format=\fIformat
+.B \-F \fIbfdname\fR, \fB\-\-target=\fIbfdname
Use
-.I format
+.I bfdname
as the object format for both the input and the output file; i.e.
simply transfer data from source to destination with no translation.
.TP