[llvm] 5beb9fa - [docs][llvm-objcopy] Update --output-target text with right defaults
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Tue May 5 03:23:33 PDT 2020
Author: James Henderson
Date: 2020-05-05T11:22:56+01:00
New Revision: 5beb9fa4abceae69c26da3616c68c19345f840fe
URL: https://github.com/llvm/llvm-project/commit/5beb9fa4abceae69c26da3616c68c19345f840fe
DIFF: https://github.com/llvm/llvm-project/commit/5beb9fa4abceae69c26da3616c68c19345f840fe.diff
LOG: [docs][llvm-objcopy] Update --output-target text with right defaults
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.
Reviewed by: MaskRay, alexshap
Differential Revision: https://reviews.llvm.org/D79318
Added:
Modified:
llvm/docs/CommandGuide/llvm-objcopy.rst
Removed:
################################################################################
diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst
index 14e08d7641d5..c5cff2ee2563 100644
--- a/llvm/docs/CommandGuide/llvm-objcopy.rst
+++ b/llvm/docs/CommandGuide/llvm-objcopy.rst
@@ -417,7 +417,8 @@ them.
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>
More information about the llvm-commits
mailing list