Create an exports file, so that the plugin only exports the onload symbol.
authorDan Gohman <gohman@apple.com>
Fri, 16 Apr 2010 00:43:25 +0000 (00:43 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 16 Apr 2010 00:43:25 +0000 (00:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101431 91177308-0d34-0410-b5e6-96231b3b80d8

tools/gold/Makefile
tools/gold/gold.exports [new file with mode: 0644]

index 7bac4ec62deac4e575f2ccdcd62da70521fb4d20..77eacb7ee5bfa5735a29ff60fb8ecb1882405c78 100644 (file)
@@ -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
diff --git a/tools/gold/gold.exports b/tools/gold/gold.exports
new file mode 100644 (file)
index 0000000..277a33a
--- /dev/null
@@ -0,0 +1 @@
+onload