Override elf_nacl.xr linker script so that libc_pic.os links correctly
[glibc/nacl-glibc.git] / sysdeps / i386 / fpu / s_copysignf.S
blob78cf7ef174ab031a322f5053b41414d0456a689d
1 /*
2  * Written by J.T. Conklin <jtc@netbsd.org>.
3  * Public domain.
4  */
6 #include <machine/asm.h>
8 RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $")
10 ENTRY(__copysignf)
11         movl    8(%esp),%edx
12         movl    4(%esp),%eax
13         andl    $0x80000000,%edx
14         andl    $0x7fffffff,%eax
15         orl     %edx,%eax
16         movl    %eax,4(%esp)
17         flds    4(%esp)
18         popl %ecx; nacljmp %ecx
19 END (__copysignf)
20 weak_alias (__copysignf, copysignf)