1 --- a/libc/sysdeps/linux/i386/Makefile.arch
2 +++ b/libc/sysdeps/linux/i386/Makefile.arch
3 @@ -9,6 +9,7 @@ CSRC := brk.c sigaction.c __syscall_erro
6 __longjmp.S vfork.S clone.S setjmp.S bsd-setjmp.S bsd-_setjmp.S \
7 - sync_file_range.S syscall.S mmap.S mmap64.S posix_fadvise64.S
8 + sync_file_range.S syscall.S mmap.S mmap64.S posix_fadvise64.S \
9 + s_copysign.S s_copysignf.S s_copysignl.S
11 include $(top_srcdir)libc/sysdeps/linux/Makefile.commonarch
13 +++ b/libc/sysdeps/linux/i386/s_copysign.S
16 + * Written by J.T. Conklin <jtc@netbsd.org>.
21 +#include <features.h>
22 +#include <bits/errno.h>
26 +.type copysign,%function
30 + andl $0x80000000,%edx
31 + andl $0x7fffffff,%eax
36 +.size copysign,.-copysign
38 +libc_hidden_def(copysign)
41 +++ b/libc/sysdeps/linux/i386/s_copysignf.S
44 + * Written by J.T. Conklin <jtc@netbsd.org>.
49 +#include <features.h>
50 +#include <bits/errno.h>
54 +.type copysignf,%function
58 + andl $0x80000000,%edx
59 + andl $0x7fffffff,%eax
64 +.size copysignf,.-copysignf
66 +libc_hidden_def(copysignf)
69 +++ b/libc/sysdeps/linux/i386/s_copysignl.S
72 + * Written by J.T. Conklin <jtc@netbsd.org>.
73 + * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
78 +#include <features.h>
79 +#include <bits/errno.h>
83 +.type copysignl,%function
93 +.size copysignl,.-copysignl
95 +libc_hidden_def(copysignl)