diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-15 20:42:37 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-15 20:42:37 +0000 |
commit | 02c55909c6b19a61df0de5e144c2b76612bbb022 (patch) | |
tree | afc7818d34eb8109d415264cf2ef2496c4bc3ee9 /libc | |
parent | 847b02fda5228125a565ae748987867f570ebeb2 (diff) |
from Blue Swirl: fixup sparc a bit more
Diffstat (limited to 'libc')
-rw-r--r-- | libc/sysdeps/linux/sparc/qp_ops.c | 24 |
1 files changed, 20 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/sparc/qp_ops.c b/libc/sysdeps/linux/sparc/qp_ops.c index 9b2f20ac2..9080baaee 100644 --- a/libc/sysdeps/linux/sparc/qp_ops.c +++ b/libc/sysdeps/linux/sparc/qp_ops.c @@ -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_qtos) 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 |