From 1ffb413122b42d5ffbc23266c509180be4500e45 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 1 Feb 2006 19:47:57 +0000 Subject: * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol even for libm. * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove __LDBL_REDIR_DECL. --- ChangeLog | 6 ++++++ libio/bits/libio-ldbl.h | 2 -- sysdeps/ieee754/ldbl-128ibm/s_finitel.c | 9 ++++++--- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 019c3a8ace..258560eff0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2006-02-01 Jakub Jelinek + * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Use long_double_symbol + even for libm. + + * libio/bits/libio-ldbl.h (_IO_vfwscanf, _IO_vfwprintf): Remove + __LDBL_REDIR_DECL. + * math/bits/mathcalls.h: Guard __END_NAMESPACE_C99 with the same #if condition as corresponding __BEGIN_NAMESPACE_C99. (scalb): Don't define only if __USE_ISOC99. diff --git a/libio/bits/libio-ldbl.h b/libio/bits/libio-ldbl.h index 6e02115f4a..8674bcb0b8 100644 --- a/libio/bits/libio-ldbl.h +++ b/libio/bits/libio-ldbl.h @@ -23,5 +23,3 @@ __LDBL_REDIR_DECL (_IO_vfscanf) __LDBL_REDIR_DECL (_IO_vfprintf) -__LDBL_REDIR_DECL (_IO_vfwscanf) -__LDBL_REDIR_DECL (_IO_vfwprintf) diff --git a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c index 142d3ed90b..49f2c92385 100644 --- a/sysdeps/ieee754/ldbl-128ibm/s_finitel.c +++ b/sysdeps/ieee754/ldbl-128ibm/s_finitel.c @@ -35,8 +35,11 @@ ___finitel (long double x) -0x7ff0000000000000LL)>>63); } hidden_ver (___finitel, __finitel) -#ifndef IS_IN_libm weak_alias (___finitel, ____finitel) -long_double_symbol (libc, ___finitel, finitel); -long_double_symbol (libc, ____finitel, __finitel); +#ifdef IS_IN_libm +long_double_symbol (libm, ____finitel, finitel); +long_double_symbol (libm, ___finitel, __finitel); +#else +long_double_symbol (libc, ____finitel, finitel); +long_double_symbol (libc, ___finitel, __finitel); #endif -- cgit v1.2.3