mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-11 10:26:44 +00:00
[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
This commit is contained in:
parent
fbdcb3ce6b
commit
3ad6f53502
@ -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.
|
||||
|
@ -222,5 +222,5 @@ defm add_symbol
|
||||
MetaVarName<"name=[section:]value[,flags]">;
|
||||
|
||||
defm update_section
|
||||
: Eq<"update-section", "Add section <name> with contents from a file <file>.">,
|
||||
: Eq<"update-section", "Replace the contents of section <name> with contents from a file <file>.">,
|
||||
MetaVarName<"name=file">;
|
||||
|
Loading…
x
Reference in New Issue
Block a user