* 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:
Richard Henderson 2006-02-20 22:51:48 +00:00
parent 26d77dc296
commit 143006bf1d
4 changed files with 11 additions and 5 deletions

View File

@ -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

View File

@ -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);

View File

@ -1,2 +0,0 @@
# Override ldbl-opt with alpha specific routines.
alpha/fpu

View File

@ -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);