[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 09:17:14 PDT 2022


gbreynoo added inline comments.


================
Comment at: llvm/docs/CommandGuide/llvm-objcopy.rst:222
+
+ Add a section ``<name>`` with contents from the file ``<file>`` to the output. 
+
----------------
abrachet wrote:
> I don't think `--update-section` will add a section if it doesn't exist. It just updates the contents of an existing section. Might also be worth mentioning that it must be the same size or smaller.
Good catch @abrachet, I've updated the description.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122907/new/

https://reviews.llvm.org/D122907



More information about the llvm-commits mailing list