aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-01 15:02:21 +0000
committerNick Clifton <nickc@redhat.com>2011-07-01 15:02:21 +0000
commit8adf5d7047abefaa5a11a72aeb1e58718c2230eb (patch)
treec843be556e6fb34650bb21163a471ad9522a0dd1
parent9294f12bf11f0ffa6f592e2f0bbc24dc4370b7ef (diff)
downloadgdb-8adf5d7047abefaa5a11a72aeb1e58718c2230eb.zip
gdb-8adf5d7047abefaa5a11a72aeb1e58718c2230eb.tar.gz
gdb-8adf5d7047abefaa5a11a72aeb1e58718c2230eb.tar.bz2
PR binutils/12325
* doc/binutils.texi (ar cmdline): Document --target, --version and --help command line options.
-rw-r--r--binutils/ChangeLog6
-rw-r--r--binutils/doc/binutils.texi16
2 files changed, 20 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b34cd88..d358a16 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,9 @@
+2011-07-01 Nick Clifton <nickc@redhat.com>
+
+ PR binutils/12325
+ * doc/binutils.texi (ar cmdline): Document --target, --version and
+ --help command line options.
+
2011-06-30 Nick Clifton <nickc@redhat.com>
PR binutils/12558
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 64333cf..fb1f960 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -176,7 +176,7 @@ in the section entitled ``GNU Free Documentation License''.
@c man title ar create, modify, and extract from archives
@smallexample
-ar [@option{--plugin} @var{name}] [-]@var{p}[@var{mod} [@var{relpos}] [@var{count}]] @var{archive} [@var{member}@dots{}]
+ar [@option{--plugin} @var{name}] [-]@var{p}[@var{mod} [@var{relpos}] [@var{count}]] [@option{--target} @var{bfdname}] @var{archive} [@var{member}@dots{}]
ar -M [ <mri-script ]
@end smallexample
@@ -251,7 +251,7 @@ program.
@smallexample
@c man begin SYNOPSIS ar
-ar [@option{--plugin} @var{name}] [@option{-X32_64}] [@option{-}]@var{p}[@var{mod} [@var{relpos}] [@var{count}]] @var{archive} [@var{member}@dots{}]
+ar [@option{--plugin} @var{name}] [@option{-X32_64}] [@option{-}]@var{p}[@var{mod} [@var{relpos}] [@var{count}]] [@option{--target} @var{bfdname}] @var{archive} [@var{member}@dots{}]
@c man end
@end smallexample
@@ -383,6 +383,13 @@ are extracted.
Files cannot be extracted from a thin archive.
+@item --help
+Displays the list of command line options supported by @command{ar}
+and then exits.
+
+@item --version
+Displays the version information of @command{ar} and then exits.
+
@end table
A number of modifiers (@var{mod}) may immediately follow the @var{p}
@@ -506,6 +513,11 @@ The optional command line switch @option{--plugin} @var{name} causes
for more file formats. This option is only available if the toolchain
has been built with plugin support enabled.
+The optional command line switch @option{--target} @var{bfdname}
+specifies that the archive members are in an object code format
+different from your system's default format. See
+@xref{Target Selection}, for more information.
+
@c man end
@ignore