use namespace-safe __lseek for __stdio_seek instead of direct syscall
[musl] / src / math / i386 / remainder.s
index 47ee340..ab1da95 100644 (file)
@@ -1,10 +1,13 @@
 .global remainder
 .type remainder,@function
 remainder:
+.weak drem
+.type drem,@function
+drem:
        fldl 12(%esp)
        fldl 4(%esp)
 1:     fprem1
-       fstsw %ax
+       fnstsw %ax
        sahf
        jp 1b
        fstp %st(1)