summaryrefslogtreecommitdiffstats
path: root/lld/lib/Driver/GnuLdOptions.td
diff options
context:
space:
mode:
Diffstat (limited to 'lld/lib/Driver/GnuLdOptions.td')
-rw-r--r--lld/lib/Driver/GnuLdOptions.td6
1 files changed, 6 insertions, 0 deletions
diff --git a/lld/lib/Driver/GnuLdOptions.td b/lld/lib/Driver/GnuLdOptions.td
index 08adcc4b6ab..590ce9509aa 100644
--- a/lld/lib/Driver/GnuLdOptions.td
+++ b/lld/lib/Driver/GnuLdOptions.td
@@ -139,6 +139,12 @@ defm rpath : dashEq<"rpath", "rpath",
def rpath_link : Separate<["-"], "rpath-link">,
HelpText<"Specifies the first set of directories to search">,
Group<grp_dynlibexec>;
+def export_dynamic : Flag<["--"], "export-dynamic">,
+ HelpText<"Add all symbols to the dynamic symbol table"
+ " when creating executables">,
+ Group<grp_main>;
+def alias_export_dynamic: Flag<["-"], "E">,
+ Alias<export_dynamic>;
//===----------------------------------------------------------------------===//
/// Dynamic Library Options
OpenPOWER on IntegriCloud