[lld] r249234 - Accept --dynamic-linker in addition to -dynamic-linker.
Ed Maste via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 3 02:32:48 PDT 2015
Author: emaste
Date: Sat Oct 3 04:32:48 2015
New Revision: 249234
URL: http://llvm.org/viewvc/llvm-project?rev=249234&view=rev
Log:
Accept --dynamic-linker in addition to -dynamic-linker.
This matches what bfd ld accepts.
Modified:
lld/trunk/ELF/Options.td
Modified: lld/trunk/ELF/Options.td
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=249234&r1=249233&r2=249234&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Sat Oct 3 04:32:48 2015
@@ -23,7 +23,7 @@ def discard_locals : Flag<["-"], "discar
def discard_none : Flag<["-"], "discard-none">,
HelpText<"Keep all symbols in the symbol table">;
-def dynamic_linker : Separate<["-"], "dynamic-linker">,
+def dynamic_linker : Separate<["--", "-"], "dynamic-linker">,
HelpText<"Which dynamic linker to use">;
def entry : Separate<["--", "-"], "entry">, MetaVarName<"<entry>">,
More information about the llvm-commits
mailing list