[llvm-commits] [compiler-rt] r114504 - /compiler-rt/trunk/make/platform/clang_darwin.mk
Daniel Dunbar
daniel at zuster.org
Tue Sep 21 16:42:49 PDT 2010
Author: ddunbar
Date: Tue Sep 21 18:42:49 2010
New Revision: 114504
URL: http://llvm.org/viewvc/llvm-project?rev=114504&view=rev
Log:
compiler-rt/clang/Darwin: Add a new library configuration which has nothing
other than eprintf for i386.
Modified:
compiler-rt/trunk/make/platform/clang_darwin.mk
Modified: compiler-rt/trunk/make/platform/clang_darwin.mk
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/make/platform/clang_darwin.mk?rev=114504&r1=114503&r2=114504&view=diff
==============================================================================
--- compiler-rt/trunk/make/platform/clang_darwin.mk (original)
+++ compiler-rt/trunk/make/platform/clang_darwin.mk Tue Sep 21 18:42:49 2010
@@ -9,6 +9,12 @@
Configs :=
UniversalArchs :=
+# Configuration solely for providing access to an eprintf symbol, which may
+# still be referenced from Darwin system headers. This symbol is only ever
+# needed on i386.
+Configs += eprintf
+UniversalArchs.eprintf := i386
+
# Configuration for targetting 10.4. We need a few functions missing from
# libgcc_s.10.4.dylib. We only build x86 slices since clang doesn't really
# support targetting PowerPC.
@@ -38,6 +44,7 @@
CFLAGS := -Wall -Werror -O3 -fomit-frame-pointer
+FUNCTIONS.eprintf := eprintf
FUNCTIONS.10.4 := eprintf floatundidf floatundisf floatundixf
FUNCTIONS.armv6 := switch16 switch32 switch8 switchu8 \
save_vfp_d8_d15_regs restore_vfp_d8_d15_regs
More information about the llvm-commits
mailing list