forked from OSchip/llvm-project
Accept some options with both -- and -.
This matches what both gold and bfd ld accept. llvm-svn: 249134
This commit is contained in:
parent
67e06ddb51
commit
327b178dd6
|
@ -12,7 +12,7 @@ def L : Joined<["-"], "L">, MetaVarName<"<dir>">,
|
|||
def allow_multiple_definition: Flag<["--"], "allow-multiple-definition">,
|
||||
HelpText<"Allow multiple definitions">;
|
||||
|
||||
def allow_shlib_undefined : Flag<["--"], "allow-shlib-undefined">;
|
||||
def allow_shlib_undefined : Flag<["--", "-"], "allow-shlib-undefined">;
|
||||
|
||||
def discard_all : Flag<["-"], "discard-all">,
|
||||
HelpText<"Delete all local symbols">;
|
||||
|
@ -29,7 +29,7 @@ def dynamic_linker : Separate<["-"], "dynamic-linker">,
|
|||
def entry : Separate<["--", "-"], "entry">, MetaVarName<"<entry>">,
|
||||
HelpText<"Name of entry point symbol">;
|
||||
|
||||
def export_dynamic : Flag<["--"], "export-dynamic">,
|
||||
def export_dynamic : Flag<["--", "-"], "export-dynamic">,
|
||||
HelpText<"Put symbols in the dynamic symbol table">;
|
||||
|
||||
def l : Joined<["-"], "l">, MetaVarName<"<libName>">,
|
||||
|
|
Loading…
Reference in New Issue