libm: Add .section .note.GNU-stack to all assembly files
[dragonfly.git] / lib / libm / arch / i386 / e_sqrt.S
1 /*
2  * Written by J.T. Conklin <jtc@NetBSD.org>.
3  * Public domain.
4  *
5  * $NetBSD: e_sqrt.S,v 1.6 2003/07/26 19:25:00 salo Exp $
6  */
7
8 #include <machine/asm.h>
9
10 ENTRY(sqrt)
11 #ifdef __i386__
12         fldl    4(%esp)
13         fsqrt
14 #else
15         sqrtsd  %xmm0,%xmm0
16 #endif
17         ret
18 END(sqrt)
19
20         .section .note.GNU-stack,"",%progbits