diff options
author | Davide Italiano <davide@freebsd.org> | 2016-07-27 01:57:15 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-07-27 01:57:15 +0000 |
commit | 8c83382a954d249fbe33d4e120ec6c2947b3d55c (patch) | |
tree | 1293226351d24a8cc480d5acd2c66a63212d4025 | |
parent | e7282797aa0ef046858580e5c3244efaac0f15cb (diff) | |
download | bcm5719-llvm-8c83382a954d249fbe33d4e120ec6c2947b3d55c.tar.gz bcm5719-llvm-8c83382a954d249fbe33d4e120ec6c2947b3d55c.zip |
[ELF] Support --output. Also output= can take two dashes.
llvm-svn: 276826
-rw-r--r-- | lld/ELF/Options.td | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index 010f37687f0..8f748eb9e4c 100644 --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -199,7 +199,8 @@ def alias_fini_fini: J<"fini=">, Alias<fini>; def alias_hash_style_hash_style: J<"hash-style=">, Alias<hash_style>; def alias_init_init: J<"init=">, Alias<init>; def alias_l__library: J<"library=">, Alias<l>; -def alias_o_output: Joined<["--"], "output=">, Alias<o>; +def alias_o_output: J<"output=">, Alias<o>; +def alias_o_output2 : S<"output">, Alias<o>; def alias_pie_pic_executable: F<"pic-executable">, Alias<pie>; def alias_relocatable_r: Flag<["-"], "r">, Alias<relocatable>; def alias_rpath_R: Joined<["-"], "R">, Alias<rpath>; |