summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-09-15 11:04:08 +0000
committerMike Frysinger <vapier@gentoo.org>2007-09-15 11:04:08 +0000
commit953e7478a36597f227aeb487c97c03005a4a5f71 (patch)
tree08ce47aaf4dec0769bb9327184a4d2e8fcf0ee11 /libc/sysdeps
parent783107dbed9ac48f3db147f4ed6cf7a9aa75418e (diff)
forgot to add this with previous sparc commit ...
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/sparc/qp_ops.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/sparc/qp_ops.c b/libc/sysdeps/linux/sparc/qp_ops.c
new file mode 100644
index 000000000..9b2f20ac2
--- /dev/null
+++ b/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
+