mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Pass -shared to the linker.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100260 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b7aaed83e2
commit
cbf1aa9e31
@ -46,6 +46,8 @@ def OptList : OptionList<[
|
||||
(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 @@ class llvm_gcc_based_linker <string cmd_prefix> : Tool<
|
||||
(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"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user