libm: Add .section .note.GNU-stack to all assembly files
[dragonfly.git] / lib / libm / arch / i386 / e_sqrt.S
CommitLineData
b34b60bc
JS
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 $
b34b60bc
JS
6 */
7
8#include <machine/asm.h>
9
10ENTRY(sqrt)
11#ifdef __i386__
12 fldl 4(%esp)
13 fsqrt
14#else
15 sqrtsd %xmm0,%xmm0
16#endif
17 ret
d04e8698 18END(sqrt)
70e34eb2
JM
19
20 .section .note.GNU-stack,"",%progbits