libm: Add .section .note.GNU-stack to all assembly files
[dragonfly.git] / lib / libm / arch / i386 / e_scalb.S
CommitLineData
b34b60bc
JS
1/*
2 * Written by J.T. Conklin <jtc@NetBSD.org>.
3 * Public domain.
4 *
5 * $NetBSD: e_scalb.S,v 1.7 2003/07/26 19:25:00 salo Exp $
b34b60bc
JS
6 */
7
8#include <machine/asm.h>
9
10#include "abi.h"
11
12ENTRY(scalb)
13 XMM_TWO_ARG_DOUBLE_PROLOGUE
14 fldl ARG_DOUBLE_TWO
15 fldl ARG_DOUBLE_ONE
16 fscale
17 fstp %st(1) /* bug fix for fp stack overflow */
18 XMM_DOUBLE_EPILOGUE
19 ret
d04e8698 20END(scalb)
70e34eb2
JM
21
22 .section .note.GNU-stack,"",%progbits