summaryrefslogtreecommitdiff
path: root/tools/gold/Makefile
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-04-16 00:43:25 +0000
committerDan Gohman <gohman@apple.com>2010-04-16 00:43:25 +0000
commitaa08c55e1834acb64a6dbaf2392d87feb2e9f7ba (patch)
tree7521bc94979223ce0d09b81f71061767a7dced0a /tools/gold/Makefile
parentf6920033e0ad2cd1e18d52dd56d0e8a3384faf72 (diff)
downloadllvm-aa08c55e1834acb64a6dbaf2392d87feb2e9f7ba.tar.gz
llvm-aa08c55e1834acb64a6dbaf2392d87feb2e9f7ba.tar.bz2
llvm-aa08c55e1834acb64a6dbaf2392d87feb2e9f7ba.tar.xz
Create an exports file, so that the plugin only exports the onload symbol.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101431 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/gold/Makefile')
-rw-r--r--tools/gold/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gold/Makefile b/tools/gold/Makefile
index 7bac4ec62d..77eacb7ee5 100644
--- a/tools/gold/Makefile
+++ b/tools/gold/Makefile
@@ -10,6 +10,8 @@
LEVEL = ../..
LIBRARYNAME = libLLVMgold
+EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/gold.exports
+
# Include this here so we can get the configuration of the targets
# that have been configured for construction. We have to do this
# early so we can set up LINK_COMPONENTS before including Makefile.rules