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.26-491-gbdc5c59


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  bdc5c59214a9e4bd9a299deead29c04ddf141256 (commit)
      from  bd4430c2a6d9d4deb49cab20ebe6aaf8a779ba0d (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=bdc5c59214a9e4bd9a299deead29c04ddf141256

commit bdc5c59214a9e4bd9a299deead29c04ddf141256
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Mon Oct 2 13:01:02 2017 +0100

    fix gamma symbol for static linking and new targets
    
    The lgamma compat code is no longer built for !LIBM_SVID_COMPAT targets,
    but the legacy gamma, gammaf and gammal symbols should be still defined,
    so make them aliases to the non-compat lgamma code.
    
    	* math/w_lgamma.c: New file.
    	* math/w_lgammaf.c: New file.
    	* math/w_lgammal.c: New file.

diff --git a/ChangeLog b/ChangeLog
index a60ba0a..a4eede1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
 
+	* math/w_lgamma.c: New file.
+	* math/w_lgammaf.c: New file.
+	* math/w_lgammal.c: New file.
+
+2017-10-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
 	* sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
 	* sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
 	* sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
diff --git a/math/w_lgamma.c b/math/w_lgamma.c
new file mode 100644
index 0000000..04b9b19
--- /dev/null
+++ b/math/w_lgamma.c
@@ -0,0 +1,10 @@
+#include <math-type-macros-double.h>
+#include <w_lgamma_template.c>
+#if __USE_WRAPPER_TEMPLATE
+strong_alias (__lgamma, __gamma)
+weak_alias (__gamma, gamma)
+# ifdef NO_LONG_DOUBLE
+strong_alias (__gamma, __gammal)
+weak_alias (__gammal, gammal)
+# endif
+#endif
diff --git a/math/w_lgammaf.c b/math/w_lgammaf.c
new file mode 100644
index 0000000..371fa26
--- /dev/null
+++ b/math/w_lgammaf.c
@@ -0,0 +1,6 @@
+#include <math-type-macros-float.h>
+#include <w_lgamma_template.c>
+#if __USE_WRAPPER_TEMPLATE
+strong_alias (__lgammaf, __gammaf)
+weak_alias (__gammaf, gammaf)
+#endif
diff --git a/math/w_lgammal.c b/math/w_lgammal.c
new file mode 100644
index 0000000..cf6cc9c
--- /dev/null
+++ b/math/w_lgammal.c
@@ -0,0 +1,6 @@
+#include <math-type-macros-ldouble.h>
+#include <w_lgamma_template.c>
+#if __USE_WRAPPER_TEMPLATE
+strong_alias (__lgammal, __gammal)
+weak_alias (__gammal, gammal)
+#endif

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

Summary of changes:
 ChangeLog        |    6 ++++++
 math/w_lgamma.c  |   10 ++++++++++
 math/w_lgammaf.c |    6 ++++++
 math/w_lgammal.c |    6 ++++++
 4 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 math/w_lgamma.c
 create mode 100644 math/w_lgammaf.c
 create mode 100644 math/w_lgammal.c


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]