summaryrefslogtreecommitdiffstats
path: root/lld/ELF/Options.td
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Options.td')
-rw-r--r--lld/ELF/Options.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index 6a95e2b92fd..bfa87ac9fbc 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -79,6 +79,9 @@ def no_undefined : Flag<["--"], "no-undefined">,
def o : Separate<["-"], "o">, MetaVarName<"<path>">,
HelpText<"Path to file to write output">;
+def print_gc_sections: Flag<["--"], "print-gc-sections">,
+ HelpText<"List removed unused sections">;
+
def rpath : Separate<["-"], "rpath">,
HelpText<"Add a DT_RUNPATH to the output">;
OpenPOWER on IntegriCloud