1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

[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
This commit is contained in:
James Henderson 2020-05-04 10:46:41 +01:00
parent 2c78fa68d7
commit 637a5f9e5d

View File

@ -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>