* doc/binutils.texi (ar cmdline): Document --target, --version and
--help command line options.
+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
2011-06-30 Nick Clifton <nickc@redhat.com>
PR binutils/12558
@c man title ar create, modify, and extract from archives
@smallexample
@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
ar -M [ <mri-script ]
@end smallexample
@smallexample
@c man begin SYNOPSIS ar
@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
@c man end
@end smallexample
Files cannot be extracted from a thin archive.
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}
@end table
A number of modifiers (@var{mod}) may immediately follow the @var{p}
for more file formats. This option is only available if the toolchain
has been built with plugin support enabled.
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.
+