[PATCH] D79318: [docs][llvm-objcopy] Update --output-target text with right defaults
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 4 03:10:14 PDT 2020
jhenderson created this revision.
jhenderson added reviewers: MaskRay, alexshap, mstorsjo, jakehehrlich.
Herald added a subscriber: abrachet.
Herald added a project: LLVM.
The --output-target documentation has slightly rotted, as the default is no longer purely based on the input file format, but also the value of --input-target. This patch updates the documentation to make this explicit.
See D67144 <https://reviews.llvm.org/D67144> for the change that originally implemented this.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D79318
Files:
llvm/docs/CommandGuide/llvm-objcopy.rst
Index: llvm/docs/CommandGuide/llvm-objcopy.rst
===================================================================
--- llvm/docs/CommandGuide/llvm-objcopy.rst
+++ llvm/docs/CommandGuide/llvm-objcopy.rst
@@ -417,7 +417,8 @@
Write the output as the specified format. See `SUPPORTED FORMATS`_ for a list
of valid ``<format>`` values. If unspecified, the output format is assumed to
- be the same as the input file's format.
+ be the same as the value specified for :option:`--input-target` or the input
+ file's format if that option is also unspecified.
.. option:: --prefix-alloc-sections <prefix>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79318.261764.patch
Type: text/x-patch
Size: 608 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200504/af4b6130/attachment.bin>
More information about the llvm-commits
mailing list