This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/17748] fe* function calls yield link namespace conform failures on dbl-64 hosts
- From: "cvs-commit at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 05 Jan 2015 23:07:14 +0000
- Subject: [Bug math/17748] fe* function calls yield link namespace conform failures on dbl-64 hosts
- Auto-submitted: auto-generated
- References: <bug-17748-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17748
--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ef9faf138578dc7e559a9fd58080825962ce0339 (commit)
from 882c4b9f1de8b0175eae6edbd48c9a7b80b63fb9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ef9faf138578dc7e559a9fd58080825962ce0339
commit ef9faf138578dc7e559a9fd58080825962ce0339
Author: Joseph Myers <joseph@codesourcery.com>
Date: Mon Jan 5 23:06:14 2015 +0000
Fix libm feholdexcept namespace (bug 17748).
Continuing the fixes for C90 libm functions calling C99 fe* functions,
this patch fixes the case of feholdexcept by making it a weak alias of
__feholdexcept and making the affected code call __feholdexcept.
Tested for x86_64 (testsuite, and that disassembly of installed shared
libraries is unchanged by the patch). Also tested for ARM
(soft-float) that feholdexcept failures disappear from the
linknamespace test failures (fesetenv, fsetround and feupdateenv
remain to be addressed to complete fixing bug 17748).
[BZ #17748]
* include/fenv.h (__feholdexcept): Declare. Use
libm_hidden_proto.
* math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
define as weak alias of __feholdexcept. Use libm_hidden_weak.
* sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
(feholdexcept): Likewise.
* sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
* sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
__feholdexcept instead of feholdexcept.
(default_libc_feholdexcept_setround): Likewise.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 27 ++++++++++++++++++++
include/fenv.h | 2 +
math/feholdexcpt.c | 6 +++-
sysdeps/aarch64/fpu/feholdexcpt.c | 6 +++-
sysdeps/alpha/fpu/feholdexcpt.c | 6 +++-
sysdeps/arm/feholdexcpt.c | 6 +++-
sysdeps/generic/math_private.h | 4 +-
sysdeps/hppa/fpu/feholdexcpt.c | 6 +++-
sysdeps/i386/fpu/feholdexcpt.c | 6 +++-
sysdeps/ia64/fpu/feholdexcpt.c | 6 +++-
sysdeps/m68k/fpu/feholdexcpt.c | 6 +++-
sysdeps/mips/fpu/feholdexcpt.c | 6 +++-
sysdeps/powerpc/fpu/feholdexcpt.c | 6 +++-
sysdeps/powerpc/nofpu/feholdexcpt.c | 6 +++-
sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c | 6 +++-
sysdeps/s390/fpu/feholdexcpt.c | 6 +++-
sysdeps/sh/sh4/fpu/feholdexcpt.c | 6 +++-
sysdeps/sparc/fpu/feholdexcpt.c | 6 +++-
sysdeps/x86_64/fpu/feholdexcpt.c | 6 +++-
19 files changed, 95 insertions(+), 34 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.