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

Chris Lattner lattner at cs.uiuc.edu
Wed Jul 20 17:57:55 PDT 2005



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

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

Darwin's libm doesn't support errno


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

 darwin.h |    1 +
 1 files changed, 1 insertion(+)


Index: llvm-gcc/gcc/config/rs6000/darwin.h
diff -u llvm-gcc/gcc/config/rs6000/darwin.h:1.1.1.2 llvm-gcc/gcc/config/rs6000/darwin.h:1.2
--- llvm-gcc/gcc/config/rs6000/darwin.h:1.1.1.2	Tue Jan 13 10:49:53 2004
+++ llvm-gcc/gcc/config/rs6000/darwin.h	Wed Jul 20 19:57:44 2005
@@ -71,6 +71,7 @@
 #define SUBTARGET_OVERRIDE_OPTIONS				  	\
 do {									\
   rs6000_altivec_abi = 1;						\
+  flag_errno_math = 0; /* Darwin doesn't support libm errno's */\
   if (DEFAULT_ABI == ABI_DARWIN)					\
   {									\
     if (MACHO_DYNAMIC_NO_PIC_P)						\






More information about the llvm-commits mailing list