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
21 lines
429 B
ArmAsm
21 lines
429 B
ArmAsm
/*
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
* Public domain.
|
|
*/
|
|
|
|
#include <i387/bsd_asm.h>
|
|
|
|
//__FBSDID("$FreeBSD: src/lib/msun/i387/e_sqrtf.S,v 1.4 2011/01/07 16:13:12 kib Exp $");
|
|
/* RCSID("$NetBSD: e_sqrtf.S,v 1.2 1995/05/08 23:50:14 jtc Exp $") */
|
|
|
|
ENTRY(sqrtf)
|
|
flds 4(%esp)
|
|
fsqrt
|
|
ret
|
|
END(sqrtf)
|
|
|
|
|
|
/* Enable stack protection */
|
|
#if defined(__linux__) && defined(__ELF__)
|
|
.section .note.GNU-stack,"",%progbits
|
|
#endif
|