This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.27.9000-7-gae1fcb7


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  ae1fcb7b92c60ef7134bc8ea82d6089a6841a4b5 (commit)
      from  b1c347e2cd33a1a7f705de5c0876ba47c254a55c (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 -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=ae1fcb7b92c60ef7134bc8ea82d6089a6841a4b5

commit ae1fcb7b92c60ef7134bc8ea82d6089a6841a4b5
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Feb 1 20:56:08 2018 +0000

    Add feholdexcept inline in generic math_private.h.
    
    Continuing the process of improving and cleaning up the handling of
    configurations lacking support for floating-point exceptions and
    rounding modes, this patch adds trivial inline definitions of
    feholdexcept and __feholdexcept to the set of inlines for such
    configurations in math_private.h.  These inlines were missing from the
    tile version used as a basis for the previous inlines, despite a few
    such function calls ending up in libm.so.
    
    Tested with build-many-glibcs.py.  As expected, installed stripped
    shared libraries are unchanged for architectures supporting exceptions
    and rounding modes, but changed for architectures lacking such
    support.
    
    	* sysdeps/generic/math_private.h
    	[!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
    	New inline function.
    	[!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
    	Likewise.

diff --git a/ChangeLog b/ChangeLog
index 980c5cb..acfe380 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2018-02-01  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/generic/math_private.h
+	[!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
+	New inline function.
+	[!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
+	Likewise.
+
 	* include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
 	[!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
 	* sysdeps/generic/math_private.h
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h
index f93cf69..0a35cb3 100644
--- a/sysdeps/generic/math_private.h
+++ b/sysdeps/generic/math_private.h
@@ -673,6 +673,18 @@ __fegetenv (fenv_t *__e)
 }
 
 extern inline int
+feholdexcept (fenv_t *__e)
+{
+  return 0;
+}
+
+extern inline int
+__feholdexcept (fenv_t *__e)
+{
+  return 0;
+}
+
+extern inline int
 fesetenv (const fenv_t *__e)
 {
   return 0;

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                      |    6 ++++++
 sysdeps/generic/math_private.h |   12 ++++++++++++
 2 files changed, 18 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]