[lld] r227631 - GNU LD option export-dynamic can accept single dash flag.

Davide Italiano davide at freebsd.org
Fri Jan 30 14:56:23 PST 2015

Author: davide
Date: Fri Jan 30 16:56:22 2015
New Revision: 227631

URL: http://llvm.org/viewvc/llvm-project?rev=227631&view=rev
GNU LD option export-dynamic can accept single dash flag.

Differential Revision:	D7044
Reviewed by:	ruiu


Modified: lld/trunk/lib/Driver/GnuLdOptions.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/GnuLdOptions.td?rev=227631&r1=227630&r2=227631&view=diff
--- lld/trunk/lib/Driver/GnuLdOptions.td (original)
+++ lld/trunk/lib/Driver/GnuLdOptions.td Fri Jan 30 16:56:22 2015
@@ -150,7 +150,7 @@ defm rpath : dashEq<"rpath", "rpath",
 def rpath_link : Separate<["-"], "rpath-link">,
      HelpText<"Specifies the first set of directories to search">,
-def export_dynamic : Flag<["--"], "export-dynamic">,
+def export_dynamic : Flag<["-", "--"], "export-dynamic">,
      HelpText<"Add all symbols to the dynamic symbol table"
               " when creating executables">,

More information about the llvm-commits mailing list