summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide
diff options
context:
space:
mode:
authorSeiya Nuta <nuta@seiya.me>2019-12-16 14:05:06 +0900
committerSeiya Nuta <nuta@seiya.me>2019-12-16 14:07:29 +0900
commit9e119ad69df716b728c8d190ac808fa509818c1e (patch)
treed27f5e66f108915feb6545dd785d6007d2c93213 /llvm/docs/CommandGuide
parentd25db94fa755651e42b15a51f2e8538f684418b7 (diff)
downloadbcm5719-llvm-9e119ad69df716b728c8d190ac808fa509818c1e.tar.gz
bcm5719-llvm-9e119ad69df716b728c8d190ac808fa509818c1e.zip
[llvm-objcopy][MachO] Implement --add-section
Reviewers: alexshap, rupprecht, jhenderson Reviewed By: alexshap, jhenderson Subscribers: mgorny, jakehehrlich, abrachet, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D66283
Diffstat (limited to 'llvm/docs/CommandGuide')
-rw-r--r--llvm/docs/CommandGuide/llvm-objcopy.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/docs/CommandGuide/llvm-objcopy.rst b/llvm/docs/CommandGuide/llvm-objcopy.rst
index 0574a5e55f2..9237d739ad5 100644
--- a/llvm/docs/CommandGuide/llvm-objcopy.rst
+++ b/llvm/docs/CommandGuide/llvm-objcopy.rst
@@ -43,6 +43,9 @@ multiple file formats.
starts with ".note". Otherwise, it will have type `SHT_PROGBITS`. Can be
specified multiple times to add multiple sections.
+ For MachO objects, ``<section>`` must be formatted as
+ ``<segment name>,<section name>``.
+
.. option:: --binary-architecture <arch>, -B
Ignored for compatibility.
OpenPOWER on IntegriCloud