aboutsummaryrefslogtreecommitdiff
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorgbreynoo <Owen.Reynolds@sony.com>2022-04-04 16:18:17 +0100
committergbreynoo <Owen.Reynolds@sony.com>2022-04-04 16:18:17 +0100
commit3ad6f535024c5b2c20f64aeea251fe96dbc88d4f (patch)
tree8c0f1fbe7d9192992958ded4bcc50ae93f031339 /llvm/docs/CommandGuide
parentfbdcb3ce6b7b0bac45e06aeac0ca02607f54a0a7 (diff)
downloadllvm-3ad6f535024c5b2c20f64aeea251fe96dbc88d4f.zip
llvm-3ad6f535024c5b2c20f64aeea251fe96dbc88d4f.tar.gz
llvm-3ad6f535024c5b2c20f64aeea251fe96dbc88d4f.tar.bz2
[llvm-objcopy][docs] Update --update-section description
I noticed that when --update-section was added to llvm-objcopy it was not added to the command guide, see 25bcd94234530955c58c6530a9271c813827637c. This change adds it to the docs and updates the help text. Differential Revision: https://reviews.llvm.org/D122907
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/llvm-objcopy.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst
index 6193d63..9462315 100644
--- a/llvm/docs/CommandGuide/llvm-objcopy.rst
+++ b/llvm/docs/CommandGuide/llvm-objcopy.rst
@@ -217,6 +217,12 @@ multiple file formats.
Remove from the output all local or undefined symbols that are not required by
relocations. Also remove all debug sections.
+.. option:: --update-section <name>=<file>
+
+ Replace the contents of the section ``<name>`` with contents from the file
+ ``<file>``. If the section ``<name>`` is part of a segment, the new contents
+ cannot be larger than the existing section.
+
.. option:: --version, -V
Display the version of the :program:`llvm-objcopy` executable.