From ab94fd371211921be9ee3b3c7f9a817bddaff3e3 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Tue, 21 Sep 2010 23:42:49 +0000 Subject: compiler-rt/clang/Darwin: Add a new library configuration which has nothing other than eprintf for i386. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@114504 91177308-0d34-0410-b5e6-96231b3b80d8 --- make/platform/clang_darwin.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/make/platform/clang_darwin.mk b/make/platform/clang_darwin.mk index d66454758..23cd3a42f 100644 --- a/make/platform/clang_darwin.mk +++ b/make/platform/clang_darwin.mk @@ -9,6 +9,12 @@ Description := Static runtime libraries for clang/Darwin. 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 @@ override CC := $(patsubst -arch_%,,$(CC)) 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 -- cgit v1.2.1