Index: lib/Driver/GnuLdOptions.td =================================================================== --- lib/Driver/GnuLdOptions.td +++ lib/Driver/GnuLdOptions.td @@ -150,7 +150,7 @@ def rpath_link : Separate<["-"], "rpath-link">, HelpText<"Specifies the first set of directories to search">, Group; -def export_dynamic : Flag<["--"], "export-dynamic">, +def export_dynamic : Flag<["-", "--"], "export-dynamic">, HelpText<"Add all symbols to the dynamic symbol table" " when creating executables">, Group;