svn commit: trunk/uClibc/libc/sysdeps/linux/sparc

vapier at uclibc.org vapier at uclibc.org
Sat Sep 15 20:42:38 UTC 2007


Author: vapier
Date: 2007-09-15 13:42:37 -0700 (Sat, 15 Sep 2007)
New Revision: 19856

Log:
from Blue Swirl: fixup sparc a bit more


Modified:
   trunk/uClibc/libc/sysdeps/linux/sparc/qp_ops.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/sparc/qp_ops.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/sparc/qp_ops.c	2007-09-15 18:14:53 UTC (rev 19855)
+++ trunk/uClibc/libc/sysdeps/linux/sparc/qp_ops.c	2007-09-15 20:42:37 UTC (rev 19856)
@@ -1,7 +1,5 @@
 // XXX add ops from glibc sysdeps/sparc/sparc64/soft-fp
 
-#ifdef __sparc_v9__
-
 #define fakedef(name)                                                   \
     void name(void)                                                     \
     {                                                                   \
@@ -9,6 +7,7 @@
         exit(-1);                                                       \
     }
 
+#ifdef __sparc_v9__
 fakedef(_Qp_fne)
 fakedef(_Qp_feq)
 fakedef(_Qp_div)
@@ -24,7 +23,24 @@
 fakedef(_Qp_stoq)
 fakedef(_Qp_itoq)
 fakedef(_Qp_add)
-#undef fakedef
-
+#else
+fakedef(_Q_fne)
+fakedef(_Q_feq)
+fakedef(_Q_div)
+fakedef(_Q_flt)
+fakedef(_Q_mul)
+fakedef(_Q_fge)
+fakedef(_Q_qtoux)
+fakedef(_Q_uxtoq)
+fakedef(_Q_qtou)
+fakedef(_Q_utoq)
+fakedef(_Q_sub)
+fakedef(_Q_dtoq)
+fakedef(_Q_qtod)
+fakedef(_Q_qtos)
+fakedef(_Q_stoq)
+fakedef(_Q_itoq)
+fakedef(_Q_add)
 #endif
 
+#undef fakedef




More information about the uClibc-cvs mailing list