mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-29 13:03:42 +01:00
0affa5be19
Hardware stack protection is required by most distributions. See https://wiki.gentoo.org/wiki/Project:Hardened/GNU_stack_quickstart
26 lines
528 B
ArmAsm
26 lines
528 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <i387/bsd_asm.h>
|
|
|
|
//__FBSDID("$FreeBSD: src/lib/msun/i387/s_scalbnl.S,v 1.3 2011/01/07 16:13:12 kib Exp $");
|
|
/* RCSID("$NetBSD: s_scalbnf.S,v 1.4 1999/01/02 05:15:40 kristerw Exp $") */
|
|
|
|
ENTRY(scalbnl)
|
|
fildl 16(%esp)
|
|
fldt 4(%esp)
|
|
fscale
|
|
fstp %st(1)
|
|
ret
|
|
END(scalbnl)
|
|
|
|
.globl CNAME(ldexpl)
|
|
.set CNAME(ldexpl),CNAME(scalbnl)
|
|
|
|
|
|
/* Enable stack protection */
|
|
#if defined(__linux__) && defined(__ELF__)
|
|
.section .note.GNU-stack,"",%progbits
|
|
#endif
|