[llvm-commits] [llvm] r100260 - /llvm/trunk/tools/llvmc/plugins/Base/Base.td.in
Mikhail Glushenkov
foldr at codedgers.com
Fri Apr 2 19:00:03 PDT 2010
Author: foldr
Date: Fri Apr 2 21:00:03 2010
New Revision: 100260
URL: http://llvm.org/viewvc/llvm-project?rev=100260&view=rev
Log:
Pass -shared to the linker.
Modified:
llvm/trunk/tools/llvmc/plugins/Base/Base.td.in
Modified: llvm/trunk/tools/llvmc/plugins/Base/Base.td.in
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvmc/plugins/Base/Base.td.in?rev=100260&r1=100259&r2=100260&view=diff
==============================================================================
--- llvm/trunk/tools/llvmc/plugins/Base/Base.td.in (original)
+++ llvm/trunk/tools/llvmc/plugins/Base/Base.td.in Fri Apr 2 21:00:03 2010
@@ -46,6 +46,8 @@
(help "Relocation model: PIC"), (hidden)),
(switch_option "mdynamic-no-pic",
(help "Relocation model: dynamic-no-pic"), (hidden)),
+ (switch_option "shared",
+ (help "Create a DLL instead of the regular executable")),
(parameter_option "linker",
(help "Choose linker (possible values: gcc, g++)")),
(parameter_option "mtune",
@@ -281,6 +283,7 @@
(not_empty "l"), (forward "l"),
(not_empty "Xlinker"), (forward "Xlinker"),
(not_empty "Wl,"), (forward "Wl,"),
+ (switch_on "shared"), (forward "shared"),
(switch_on "dynamiclib"), (forward "dynamiclib"),
(switch_on "prebind"), (forward "prebind"),
(switch_on "dead_strip"), (forward "dead_strip"),
More information about the llvm-commits
mailing list