[PATCH] D59351: [llvm-objcopy] Add --update-section

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 18 06:29:15 PDT 2019


jhenderson added a comment.

I suspect that this is going to interact nastily with D59843. Does GNU objcopy support updating sections within segments?



================
Comment at: tools/llvm-objcopy/ObjcopyOpts.td:260
+defm update_section
+    : Eq<"update-section", "Add section <name> with contents from a file <file>.">,
+      MetaVarName<"name=file">;
----------------
Add, append to or replace the section contents? Adding doesn't make sense if the switch is called update-section...


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

https://reviews.llvm.org/D59351





More information about the llvm-commits mailing list