Browse Source

forgot to add this with previous sparc commit ...

Mike Frysinger 18 years ago
parent
commit
953e7478a3
1 changed files with 30 additions and 0 deletions
  1. 30 0
      libc/sysdeps/linux/sparc/qp_ops.c

+ 30 - 0
libc/sysdeps/linux/sparc/qp_ops.c

@@ -0,0 +1,30 @@
+// XXX add ops from glibc sysdeps/sparc/sparc64/soft-fp
+
+#ifdef __sparc_v9__
+
+#define fakedef(name)                                                   \
+    void name(void)                                                     \
+    {                                                                   \
+        printf("Unimplemented %s called, exiting\n", #name);            \
+        exit(-1);                                                       \
+    }
+
+fakedef(_Qp_fne)
+fakedef(_Qp_feq)
+fakedef(_Qp_div)
+fakedef(_Qp_flt)
+fakedef(_Qp_mul)
+fakedef(_Qp_fge)
+fakedef(_Qp_qtoux)
+fakedef(_Qp_uxtoq)
+fakedef(_Qp_sub)
+fakedef(_Qp_dtoq)
+fakedef(_Qp_qtod)
+fakedef(_Qp_qtos)
+fakedef(_Qp_stoq)
+fakedef(_Qp_itoq)
+fakedef(_Qp_add)
+#undef fakedef
+
+#endif
+