[cfe-commits] r65504 - in /cfe/trunk/Driver: Driver.map Makefile
Owen Anderson
resistor at mac.com
Wed Feb 25 22:29:55 PST 2009
Author: resistor
Date: Thu Feb 26 00:29:54 2009
New Revision: 65504
URL: http://llvm.org/viewvc/llvm-project?rev=65504&view=rev
Log:
Add an export map for clang on Linux.
Added:
cfe/trunk/Driver/Driver.map
Modified:
cfe/trunk/Driver/Makefile
Added: cfe/trunk/Driver/Driver.map
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/Driver.map?rev=65504&view=auto
==============================================================================
--- cfe/trunk/Driver/Driver.map (added)
+++ cfe/trunk/Driver/Driver.map Thu Feb 26 00:29:54 2009
@@ -0,0 +1,4 @@
+{
+ global: main;
+ local: *;
+};
Modified: cfe/trunk/Driver/Makefile
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/Makefile?rev=65504&r1=65503&r2=65504&view=diff
==============================================================================
--- cfe/trunk/Driver/Makefile (original)
+++ cfe/trunk/Driver/Makefile Thu Feb 26 00:29:54 2009
@@ -14,6 +14,10 @@
LD.Flags += -Wl,-exported_symbol -Wl,_main
endif
+ifeq ($(OS),Linux)
+LD.Flags += -Wl,--version-script=Driver.map
+endif
+
LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader bitwriter codegen ipo selectiondag
USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \
clangDriver.a clangAST.a clangParse.a clangLex.a \
More information about the cfe-commits
mailing list