[llvm-commits] [test-suite] r94711 - /test-suite/trunk/Makefile.rules
Evan Cheng
evan.cheng at apple.com
Wed Jan 27 16:46:40 PST 2010
Author: evancheng
Date: Wed Jan 27 18:46:40 2010
New Revision: 94711
URL: http://llvm.org/viewvc/llvm-project?rev=94711&view=rev
Log:
Default to -code-model=small for x86_64 JIT on Darwin.
Modified:
test-suite/trunk/Makefile.rules
Modified: test-suite/trunk/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/Makefile.rules?rev=94711&r1=94710&r2=94711&view=diff
==============================================================================
--- test-suite/trunk/Makefile.rules (original)
+++ test-suite/trunk/Makefile.rules Wed Jan 27 18:46:40 2010
@@ -363,6 +363,9 @@
ifdef PIC_CODEGEN
TARGET_LLCFLAGS += -relocation-model=pic -disable-fp-elim
TARGET_LLIFLAGS += -relocation-model=pic -disable-fp-elim
+ ifeq ($(TARGET_OS),Darwin)
+ TARGET_LLIFLAGS += -code-model=small
+ endif
else
TARGET_FLAGS += -fomit-frame-pointer
ifeq ($(TARGET_OS),Darwin)
More information about the llvm-commits
mailing list