summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/gold/Makefile2
-rw-r--r--llvm/tools/gold/gold.exports1
2 files changed, 3 insertions, 0 deletions
diff --git a/llvm/tools/gold/Makefile b/llvm/tools/gold/Makefile
index 7bac4ec62de..77eacb7ee5b 100644
--- a/llvm/tools/gold/Makefile
+++ b/llvm/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/llvm/tools/gold/gold.exports b/llvm/tools/gold/gold.exports
new file mode 100644
index 00000000000..277a33a1ec3
--- /dev/null
+++ b/llvm/tools/gold/gold.exports
@@ -0,0 +1 @@
+onload
OpenPOWER on IntegriCloud