mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-12 01:25:49 +00:00
Allow specifying a file with symbols to export
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8531 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -468,9 +468,13 @@ endif
|
|||||||
LinkBCLib := $(LLVMGCC) -shared
|
LinkBCLib := $(LLVMGCC) -shared
|
||||||
ifdef EXPORTED_SYMBOL_LIST
|
ifdef EXPORTED_SYMBOL_LIST
|
||||||
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
|
LinkBCLib += -Xlinker -internalize-public-api-list=$(EXPORTED_SYMBOL_LIST)
|
||||||
|
else
|
||||||
|
ifdef EXPORTED_SYMBOL_FILE
|
||||||
|
LinkBCLib += -Xlinker -internalize-public-api-file=$(EXPORTED_SYMBOL_FILE)
|
||||||
else
|
else
|
||||||
LinkBCLib += -Xlinker -disable-internalize
|
LinkBCLib += -Xlinker -disable-internalize
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
# Rule for building bytecode libraries.
|
# Rule for building bytecode libraries.
|
||||||
|
Reference in New Issue
Block a user