Support mcount/gprof test with GCC defaulting to PIE
[glibc.git] / sysdeps / i386 / fpu / s_rintl.c
blob66af9cb675a02eaf1e4db6bfeba782bf1b35c509
1 /*
2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
4 * Public domain.
5 */
7 #include <math_private.h>
9 long double
10 __rintl (long double x)
12 long double res;
14 asm ("frndint" : "=t" (res) : "0" (x));
15 return res;
18 weak_alias (__rintl, rintl)