[llvm-commits] CVS: llvm-gcc/gcc/config/i386/darwin.h

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 20 18:00:04 PDT 2005



Changes in directory llvm-gcc/gcc/config/i386:

darwin.h updated: 1.1.1.1 -> 1.2
---
Log message:

darwin's libm doesn't support errno


---
Diffs of the changes:  (+6 -0)

 darwin.h |    6 ++++++
 1 files changed, 6 insertions(+)


Index: llvm-gcc/gcc/config/i386/darwin.h
diff -u llvm-gcc/gcc/config/i386/darwin.h:1.1.1.1 llvm-gcc/gcc/config/i386/darwin.h:1.2
--- llvm-gcc/gcc/config/i386/darwin.h:1.1.1.1	Thu Jan  8 15:58:50 2004
+++ llvm-gcc/gcc/config/i386/darwin.h	Wed Jul 20 19:59:53 2005
@@ -25,6 +25,12 @@
 
 #define TARGET_VERSION fprintf (stderr, " (i386 Darwin)");
 
+#define SUBTARGET_OVERRIDE_OPTIONS                                      \
+do {                                                                    \
+  flag_errno_math = 0; /* Darwin doesn't support libm errno's */        \
+} while(0)
+
+
 #define TARGET_OS_CPP_BUILTINS()                \
   do                                            \
     {                                           \






More information about the llvm-commits mailing list