[llvm-commits] [llvm] r101431 - in /llvm/trunk/tools/gold: Makefile gold.exports

Dan Gohman gohman at apple.com
Thu Apr 15 17:43:25 PDT 2010


Author: djg
Date: Thu Apr 15 19:43:25 2010
New Revision: 101431

URL: http://llvm.org/viewvc/llvm-project?rev=101431&view=rev
Log:
Create an exports file, so that the plugin only exports the onload symbol.

Added:
    llvm/trunk/tools/gold/gold.exports
Modified:
    llvm/trunk/tools/gold/Makefile

Modified: llvm/trunk/tools/gold/Makefile
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/Makefile?rev=101431&r1=101430&r2=101431&view=diff
==============================================================================
--- llvm/trunk/tools/gold/Makefile (original)
+++ llvm/trunk/tools/gold/Makefile Thu Apr 15 19:43:25 2010
@@ -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

Added: llvm/trunk/tools/gold/gold.exports
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/gold/gold.exports?rev=101431&view=auto
==============================================================================
--- llvm/trunk/tools/gold/gold.exports (added)
+++ llvm/trunk/tools/gold/gold.exports Thu Apr 15 19:43:25 2010
@@ -0,0 +1 @@
+onload





More information about the llvm-commits mailing list