[PATCH] D122907: [llvm-objcopy][docs] Add --update-section to objcopy command guide
Owen Reynolds via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 1 07:59:41 PDT 2022
gbreynoo created this revision.
gbreynoo added reviewers: MaskRay, leonardchan, jhenderson.
Herald added a reviewer: alexander-shaposhnikov.
Herald added subscribers: StephenFan, abrachet.
Herald added a project: All.
gbreynoo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
I noticed that when `--update-section` was added to llvm-objcopy it was not added to the command guide, see 25bcd94234530955c58c6530a9271c813827637c <https://reviews.llvm.org/rG25bcd94234530955c58c6530a9271c813827637c>. This change adds it to the docs.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D122907
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
@@ -217,6 +217,10 @@
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>
+
+ Add a section ``<name>`` with contents from the file ``<file>`` to the output.
+
.. option:: --version, -V
Display the version of the :program:`llvm-objcopy` executable.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122907.419758.patch
Type: text/x-patch
Size: 578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220401/8b8e608e/attachment.bin>
More information about the llvm-commits
mailing list