From aa08c55e1834acb64a6dbaf2392d87feb2e9f7ba Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Fri, 16 Apr 2010 00:43:25 +0000 Subject: 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 --- tools/gold/Makefile | 2 ++ tools/gold/gold.exports | 1 + 2 files changed, 3 insertions(+) create mode 100644 tools/gold/gold.exports (limited to 'tools/gold') 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 diff --git a/tools/gold/gold.exports b/tools/gold/gold.exports new file mode 100644 index 0000000000..277a33a1ec --- /dev/null +++ b/tools/gold/gold.exports @@ -0,0 +1 @@ +onload -- cgit v1.2.3