diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | libio/bits/libio-ldbl.h | 2 | ||||
-rw-r--r-- | sysdeps/ieee754/ldbl-128ibm/s_finitel.c | 9 |
3 files changed, 12 insertions, 5 deletions
@@ -1,5 +1,11 @@ 2006-02-01 Jakub Jelinek <jakub@redhat.com> + * 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 6e02115..8674bcb 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 142d3ed..49f2c92 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 |