diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-09-21 23:42:49 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-09-21 23:42:49 +0000 |
commit | 5680b2a09cc00f11abe72119931609cd4f54d727 (patch) | |
tree | 74f6dd63dbe9a33733b7bfa70aad50b7abe13575 | |
parent | b2f659b7a0b787a933c5bd6d665ea0299e5b7ad1 (diff) | |
download | bcm5719-llvm-5680b2a09cc00f11abe72119931609cd4f54d727.tar.gz bcm5719-llvm-5680b2a09cc00f11abe72119931609cd4f54d727.zip |
compiler-rt/clang/Darwin: Add a new library configuration which has nothing
other than eprintf for i386.
llvm-svn: 114504
-rw-r--r-- | compiler-rt/make/platform/clang_darwin.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler-rt/make/platform/clang_darwin.mk b/compiler-rt/make/platform/clang_darwin.mk index d66454758bf..23cd3a42f86 100644 --- a/compiler-rt/make/platform/clang_darwin.mk +++ b/compiler-rt/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 |