mirror of
git://sourceware.org/git/glibc.git
synced 2025-01-18 12:16:13 +08:00
* sysdeps/alpha/soft-fp/Makefile (CPPFLAGS): Add soft-fp include
to math subdir. * sysdeps/alpha/soft-fp/e_sqrtl.c: Don't use local-soft-fp.h. (__ieee754_sqrtl): Add _round local variable. * sysdeps/unix/sysv/linux/alpha/fpu/Implies: Remove. * sysdeps/unix/sysv/linux/alpha/fxstatat.c: Fix hidden defs.
This commit is contained in:
parent
26d77dc296
commit
143006bf1d
@ -4,3 +4,7 @@ ifeq ($(subdir),soft-fp)
|
||||
sysdep_routines += ots_add ots_sub ots_mul ots_div ots_cmp ots_cmpe \
|
||||
ots_cvtxq ots_cvtqx ots_cvtqux ots_cvttx ots_cvtxt ots_nintxq
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),math)
|
||||
CPPFLAGS += -I../soft-fp
|
||||
endif
|
||||
|
@ -19,7 +19,9 @@
|
||||
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
||||
02111-1307 USA. */
|
||||
|
||||
#include "local-soft-fp.h"
|
||||
#include <stdlib.h>
|
||||
#include <soft-fp.h>
|
||||
#include <quad.h>
|
||||
|
||||
long double
|
||||
__ieee754_sqrtl (const long double a)
|
||||
@ -27,6 +29,7 @@ __ieee754_sqrtl (const long double a)
|
||||
FP_DECL_EX;
|
||||
FP_DECL_Q(A); FP_DECL_Q(C);
|
||||
long double c;
|
||||
long _round = 4; /* dynamic rounding */
|
||||
|
||||
FP_INIT_ROUNDMODE;
|
||||
FP_UNPACK_Q(A, a);
|
||||
|
@ -1,2 +0,0 @@
|
||||
# Override ldbl-opt with alpha specific routines.
|
||||
alpha/fpu
|
@ -94,5 +94,6 @@ __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag)
|
||||
|
||||
return -1;
|
||||
}
|
||||
strong_alias (__fxstatat, __fxstatat64)
|
||||
strong_alias (__fxstatat64, __GI___fxstatat64)
|
||||
libc_hidden_def (__fxstatat)
|
||||
strong_alias (__fxstatat, __fxstatat64);
|
||||
libc_hidden_ver(__fxstatat, __fxstatat64);
|
||||
|
Loading…
Reference in New Issue
Block a user