From a2bfb6d6356ae854f23715ef0c10818ac9b0a98b Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Mon, 20 Feb 2006 22:51:48 +0000 Subject: [PATCH] * 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. 2006-02-20 Richard Henderson * 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. --- ChangeLog | 10 ++++++++++ sysdeps/alpha/soft-fp/Makefile | 4 ++++ sysdeps/alpha/soft-fp/e_sqrtl.c | 5 ++++- sysdeps/unix/sysv/linux/alpha/fpu/Implies | 2 -- sysdeps/unix/sysv/linux/alpha/fxstatat.c | 5 +++-- 5 files changed, 21 insertions(+), 5 deletions(-) delete mode 100644 sysdeps/unix/sysv/linux/alpha/fpu/Implies diff --git a/ChangeLog b/ChangeLog index 30bdba34f6..cc700156bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2006-02-20 Richard Henderson + + * 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. + 2006-02-20 Roland McGrath * hurd/hurd/xattr.h: New file. diff --git a/sysdeps/alpha/soft-fp/Makefile b/sysdeps/alpha/soft-fp/Makefile index d7e7e2684a..5410a78984 100644 --- a/sysdeps/alpha/soft-fp/Makefile +++ b/sysdeps/alpha/soft-fp/Makefile @@ -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 diff --git a/sysdeps/alpha/soft-fp/e_sqrtl.c b/sysdeps/alpha/soft-fp/e_sqrtl.c index a1d09725b7..717d170127 100644 --- a/sysdeps/alpha/soft-fp/e_sqrtl.c +++ b/sysdeps/alpha/soft-fp/e_sqrtl.c @@ -19,7 +19,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ -#include "local-soft-fp.h" +#include +#include +#include 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); diff --git a/sysdeps/unix/sysv/linux/alpha/fpu/Implies b/sysdeps/unix/sysv/linux/alpha/fpu/Implies deleted file mode 100644 index d76f511c2e..0000000000 --- a/sysdeps/unix/sysv/linux/alpha/fpu/Implies +++ /dev/null @@ -1,2 +0,0 @@ -# Override ldbl-opt with alpha specific routines. -alpha/fpu diff --git a/sysdeps/unix/sysv/linux/alpha/fxstatat.c b/sysdeps/unix/sysv/linux/alpha/fxstatat.c index 4cb304cb40..497694619a 100644 --- a/sysdeps/unix/sysv/linux/alpha/fxstatat.c +++ b/sysdeps/unix/sysv/linux/alpha/fxstatat.c @@ -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); -- 2.43.5