[PATCH] D24725: [ELF] - Linkerscript: implemented --orphan-handling command line option.

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 06:14:33 PDT 2016


emaste added a comment.

Nice, thanks for this discovery! I hadn't seen it before because FreeBSD's base system ld is too old and doesn't have the option :(


================
Comment at: ELF/Options.td:142-144
@@ -141,2 +141,5 @@
 
+def orphan_handling: J<"orphan-handling=">, 
+  HelpText<"Control how orphan sections are handled">;
+
 def pie: F<"pie">, HelpText<"Create a position independent executable">;
----------------
Should also support `--orphan-handling MODE` I believe.


https://reviews.llvm.org/D24725





More information about the llvm-commits mailing list