From 953e7478a36597f227aeb487c97c03005a4a5f71 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 15 Sep 2007 11:04:08 +0000 Subject: forgot to add this with previous sparc commit ... --- libc/sysdeps/linux/sparc/qp_ops.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 libc/sysdeps/linux/sparc/qp_ops.c (limited to 'libc') 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 + -- cgit v1.2.3