diff options
author | Roland McGrath <roland@gnu.org> | 2006-02-01 19:47:57 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2006-02-01 19:47:57 +0000 |
commit | 1ffb413122b42d5ffbc23266c509180be4500e45 (patch) | |
tree | c10e4a955ca1211212b4406314f21fc7093753f7 | |
parent | d36421fa255cdd931c18ad03cfda435e7897ef10 (diff) | |
download | glibc-1ffb413122b42d5ffbc23266c509180be4500e45.tar.gz glibc-1ffb413122b42d5ffbc23266c509180be4500e45.tar.xz glibc-1ffb413122b42d5ffbc23266c509180be4500e45.zip |
* 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.
-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
diff --git a/ChangeLog b/ChangeLog index 019c3a8ace..258560eff0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 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 |