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 9ab03024240..b3c244be633 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -12,3 +12,6 @@ def dynamic_linker : Separate<["-"], "dynamic-linker">,
def rpath : Separate<["-"], "rpath">,
HelpText<"Add a DT_RUNPATH to the output">;
+
+def shared : Flag<["-"], "shared">,
+ HelpText<"Build a shared object">;
OpenPOWER on IntegriCloud