summaryrefslogtreecommitdiff
path: root/binutils/doc/binutils.texi
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-01 15:02:20 +0000
committerNick Clifton <nickc@redhat.com>2011-07-01 15:02:20 +0000
commit35e0b373f1db118b1f449f3bf87e742159fd352c (patch)
tree1b5564c3ccdbfdef6c07d20ae8f9e30f60f849ef /binutils/doc/binutils.texi
parent9a3e1451532091a8b9abb15e7a13592c745020f1 (diff)
downloadbinutils-redhat-35e0b373f1db118b1f449f3bf87e742159fd352c.tar.gz
PR binutils/12325
* doc/binutils.texi (ar cmdline): Document --target, --version and --help command line options.
Diffstat (limited to 'binutils/doc/binutils.texi')
-rw-r--r--binutils/doc/binutils.texi16
1 files changed, 14 insertions, 2 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 64333cff79..fb1f960faf 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