summaryrefslogtreecommitdiffstats
path: root/lib/libc/powerpc/gen/fpgetsticky.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/powerpc/gen/fpgetsticky.c')
-rw-r--r--lib/libc/powerpc/gen/fpgetsticky.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/powerpc/gen/fpgetsticky.c b/lib/libc/powerpc/gen/fpgetsticky.c
index e8a21ca..feb2ccc 100644
--- a/lib/libc/powerpc/gen/fpgetsticky.c
+++ b/lib/libc/powerpc/gen/fpgetsticky.c
@@ -45,6 +45,7 @@
#include <sys/types.h>
#include <ieeefp.h>
+#ifndef _SOFT_FLOAT
#ifdef __weak_alias
__weak_alias(fpgetsticky,_fpgetsticky)
#endif
@@ -57,3 +58,4 @@ fpgetsticky()
__asm__ __volatile("mffs %0" : "=f"(fpscr));
return ((fp_except_t)((fpscr >> 25) & 0x1f));
}
+#endif
OpenPOWER on IntegriCloud