Override elf_nacl.xr linker script so that libc_pic.os links correctly
[glibc/nacl-glibc.git] / sysdeps / i386 / fpu / e_remainder.S
blob5ceb1c6e8ddb7e11118a163f71c9a12d0348d143
1 /*
2  * Written by J.T. Conklin <jtc@netbsd.org>.
3  * Public domain.
4  */
6 #include <machine/asm.h>
8 RCSID("$NetBSD: e_remainder.S,v 1.4 1995/05/08 23:49:37 jtc Exp $")
10 ENTRY(__ieee754_remainder)
11         fldl    12(%esp)
12         fldl    4(%esp)
13 1:      fprem1
14         fstsw   %ax
15         sahf
16         jp      1b
17         fstp    %st(1)
18         popl %ecx; nacljmp %ecx
19 END (__ieee754_remainder)