Hello community,

here is the log from the commit of package glibc for openSUSE:Factory checked 
in at 2015-04-05 02:02:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/glibc (Old)
 and      /work/SRC/openSUSE:Factory/.glibc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "glibc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/glibc/glibc-testsuite.changes    2015-03-18 
14:35:47.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.glibc.new/glibc-testsuite.changes       
2015-04-05 02:02:17.000000000 +0200
@@ -1,0 +2,16 @@
+Thu Apr  2 08:11:20 UTC 2015 - [email protected]
+
+- aarch64-sigstksz.patch: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850)
+
+-------------------------------------------------------------------
+Mon Mar 30 09:04:49 UTC 2015 - [email protected]
+
+- powerpc-software-sqrt.patch: Fix powerpc software sqrt (BZ #17964, BZ
+  #17967)
+- nss-separate-state-getXXent.patch: Separate internal state between
+  getXXent and getXXbyYY NSS calls (bsc#918187, BZ #18007)
+- static-tls-dtv-limit.patch: Fix DTV race, assert, DTV_SURPLUS Static TLS
+  limit, and nptl_db garbage (bsc#919678, BZ #17090, BZ #17620, BZ #17621,
+  BZ #17628)
+
+-------------------------------------------------------------------
glibc-utils.changes: same change
glibc.changes: same change

New:
----
  aarch64-sigstksz.patch
  nss-separate-state-getXXent.patch
  powerpc-software-sqrt.patch
  static-tls-dtv-limit.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ glibc-testsuite.spec ++++++
--- /var/tmp/diff_new_pack.2BqZwN/_old  2015-04-05 02:02:19.000000000 +0200
+++ /var/tmp/diff_new_pack.2BqZwN/_new  2015-04-05 02:02:19.000000000 +0200
@@ -235,8 +235,14 @@
 Patch1000:      htm-tabort.patch
 # PATCH-FIX-UPSTREAM Fix value of O_TMPFILE for architectures with non-default 
O_DIRECTORY (BZ #17912)
 Patch1001:      o-tmpfile.patch
-# PATH-FIX-UPSTREAM Fix __memcpy_chk on non-SSE2 CPUs (BZ #17949)
+# PATCH-FIX-UPSTREAM Fix __memcpy_chk on non-SSE2 CPUs (BZ #17949)
 Patch1002:      memcpy-chk-non-SSE2.patch
+# PATCH-FIX-UPSTREAM Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in 
pthread_mutexattr_gettype (BZ #15790)
+Patch1003:      pthread-mutexattr-gettype-kind.patch
+# PATCH-FIX-UPSTREAM Fix powerpc software sqrt (BZ #17964, BZ #17967)
+Patch1004:      powerpc-software-sqrt.patch
+# PATCH-FIX-UPSTREAM Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and 
nptl_db garbage (bsc#919678, BZ #17090, BZ #17620, BZ #17621, BZ #17628)
+Patch1005:      static-tls-dtv-limit.patch
 
 ### 
 # Patches awaiting upstream approval
@@ -251,10 +257,12 @@
 Patch2005:      glibc-memset-nontemporal.diff
 # PATCH-FIX-UPSTREAM Avoid redundant shift character in iconv output at block 
boundary (BZ #17197)
 Patch2006:      ibm93x-redundant-shift-si.patch
-# PATCH-FIX-UPSTREAM Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in 
pthread_mutexattr_gettype (BZ #15790)
-Patch2007:      pthread-mutexattr-gettype-kind.patch
 # PATCH-FIX-UPSTREAM Rewrite handling of nameserver configuration in resolver
-Patch2008:      resolv-nameserver-handling.patch
+Patch2007:      resolv-nameserver-handling.patch
+# PATCH-FIX-UPSTREAM Separate internal state between getXXent and getXXbyYY 
NSS calls (bsc#918187, BZ #18007)
+Patch2008:      nss-separate-state-getXXent.patch
+# PATCH-FIX-UPSTREAM aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850)
+Patch2009:      aarch64-sigstksz.patch
 
 # Non-glibc patches
 # PATCH-FIX-OPENSUSE Remove debianisms from manpages
@@ -458,6 +466,9 @@
 %patch1000 -p1
 %patch1001 -p1
 %patch1002 -p1
+%patch1003 -p1
+%patch1004 -p1
+%patch1005 -p1
 
 %patch2000 -p1
 %patch2002 -p1
@@ -466,6 +477,7 @@
 %patch2006 -p1
 %patch2007 -p1
 %patch2008 -p1
+%patch2009 -p1
 
 %patch3000
 

glibc-utils.spec: same change
++++++ glibc.spec ++++++
--- /var/tmp/diff_new_pack.2BqZwN/_old  2015-04-05 02:02:19.000000000 +0200
+++ /var/tmp/diff_new_pack.2BqZwN/_new  2015-04-05 02:02:19.000000000 +0200
@@ -235,8 +235,14 @@
 Patch1000:      htm-tabort.patch
 # PATCH-FIX-UPSTREAM Fix value of O_TMPFILE for architectures with non-default 
O_DIRECTORY (BZ #17912)
 Patch1001:      o-tmpfile.patch
-# PATH-FIX-UPSTREAM Fix __memcpy_chk on non-SSE2 CPUs (BZ #17949)
+# PATCH-FIX-UPSTREAM Fix __memcpy_chk on non-SSE2 CPUs (BZ #17949)
 Patch1002:      memcpy-chk-non-SSE2.patch
+# PATCH-FIX-UPSTREAM Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in 
pthread_mutexattr_gettype (BZ #15790)
+Patch1003:      pthread-mutexattr-gettype-kind.patch
+# PATCH-FIX-UPSTREAM Fix powerpc software sqrt (BZ #17964, BZ #17967)
+Patch1004:      powerpc-software-sqrt.patch
+# PATCH-FIX-UPSTREAM Fix DTV race, assert, DTV_SURPLUS Static TLS limit, and 
nptl_db garbage (bsc#919678, BZ #17090, BZ #17620, BZ #17621, BZ #17628)
+Patch1005:      static-tls-dtv-limit.patch
 
 ### 
 # Patches awaiting upstream approval
@@ -251,10 +257,12 @@
 Patch2005:      glibc-memset-nontemporal.diff
 # PATCH-FIX-UPSTREAM Avoid redundant shift character in iconv output at block 
boundary (BZ #17197)
 Patch2006:      ibm93x-redundant-shift-si.patch
-# PATCH-FIX-UPSTREAM Filter out PTHREAD_MUTEX_NO_ELISION_NP bit in 
pthread_mutexattr_gettype (BZ #15790)
-Patch2007:      pthread-mutexattr-gettype-kind.patch
 # PATCH-FIX-UPSTREAM Rewrite handling of nameserver configuration in resolver
-Patch2008:      resolv-nameserver-handling.patch
+Patch2007:      resolv-nameserver-handling.patch
+# PATCH-FIX-UPSTREAM Separate internal state between getXXent and getXXbyYY 
NSS calls (bsc#918187, BZ #18007)
+Patch2008:      nss-separate-state-getXXent.patch
+# PATCH-FIX-UPSTREAM aarch64: Increase MINSIGSTKSZ and SIGSTKSZ (BZ #16850)
+Patch2009:      aarch64-sigstksz.patch
 
 # Non-glibc patches
 # PATCH-FIX-OPENSUSE Remove debianisms from manpages
@@ -458,6 +466,9 @@
 %patch1000 -p1
 %patch1001 -p1
 %patch1002 -p1
+%patch1003 -p1
+%patch1004 -p1
+%patch1005 -p1
 
 %patch2000 -p1
 %patch2002 -p1
@@ -466,6 +477,7 @@
 %patch2006 -p1
 %patch2007 -p1
 %patch2008 -p1
+%patch2009 -p1
 
 %patch3000
 


++++++ aarch64-sigstksz.patch ++++++
        [BZ #16850]
        * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.

Index: glibc-2.21/sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
===================================================================
--- /dev/null
+++ glibc-2.21/sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
@@ -0,0 +1,54 @@
+/* sigstack, sigaltstack definitions.
+   Copyright (C) 2015 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+#ifndef _SIGNAL_H
+# error "Never include this file directly.  Use <signal.h> instead"
+#endif
+
+
+/* Structure describing a signal stack (obsolete).  */
+struct sigstack
+  {
+    void *ss_sp;               /* Signal stack pointer.  */
+    int ss_onstack;            /* Nonzero if executing on this stack.  */
+  };
+
+
+/* Possible values for `ss_flags.'.  */
+enum
+{
+  SS_ONSTACK = 1,
+#define SS_ONSTACK     SS_ONSTACK
+  SS_DISABLE
+#define SS_DISABLE     SS_DISABLE
+};
+
+/* Minimum stack size for a signal handler.  */
+#define MINSIGSTKSZ    5120
+
+/* System default stack size.  */
+#define SIGSTKSZ       16384
+
+
+/* Alternate, preferred interface.  */
+typedef struct sigaltstack
+  {
+    void *ss_sp;
+    int ss_flags;
+    size_t ss_size;
+  } stack_t;

++++++ nss-separate-state-getXXent.patch ++++++
++++ 715 lines (skipped)

++++++ powerpc-software-sqrt.patch ++++++
2015-02-13  Joseph Myers  <[email protected]>

        [BZ #17967]
        * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
        __builtin_fmaf instead of relying on contraction of a * b + c.

2015-02-12  Joseph Myers  <[email protected]>

        [BZ #17964]
        * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
        __builtin_fma instead of relying on contraction of a * b + c.

Index: glibc-2.21/sysdeps/powerpc/fpu/e_sqrt.c
===================================================================
--- glibc-2.21.orig/sysdeps/powerpc/fpu/e_sqrt.c
+++ glibc-2.21/sysdeps/powerpc/fpu/e_sqrt.c
@@ -99,38 +99,41 @@ __slow_ieee754_sqrt (double x)
          /* Here we have three Newton-Raphson iterations each of a
             division and a square root and the remainder of the
             argument reduction, all interleaved.   */
-         sd = -(sg * sg - sx);
+         sd = -__builtin_fma (sg, sg, -sx);
          fsgi = (xi0 + 0x40000000) >> 1 & 0x7ff00000;
          sy2 = sy + sy;
-         sg = sy * sd + sg;    /* 16-bit approximation to sqrt(sx). */
+         sg = __builtin_fma (sy, sd, sg);      /* 16-bit approximation to
+                                                  sqrt(sx). */
 
          /* schedule the INSERT_WORDS (fsg, fsgi, 0) to get separation
             between the store and the load.  */
          INSERT_WORDS (fsg, fsgi, 0);
          iw_u.parts.msw = fsgi;
          iw_u.parts.lsw = (0);
-         e = -(sy * sg - almost_half);
-         sd = -(sg * sg - sx);
+         e = -__builtin_fma (sy, sg, -almost_half);
+         sd = -__builtin_fma (sg, sg, -sx);
          if ((xi0 & 0x7ff00000) == 0)
            goto denorm;
-         sy = sy + e * sy2;
-         sg = sg + sy * sd;    /* 32-bit approximation to sqrt(sx).  */
+         sy = __builtin_fma (e, sy2, sy);
+         sg = __builtin_fma (sy, sd, sg);      /* 32-bit approximation to
+                                                  sqrt(sx).  */
          sy2 = sy + sy;
          /* complete the INSERT_WORDS (fsg, fsgi, 0) operation.  */
          fsg = iw_u.value;
-         e = -(sy * sg - almost_half);
-         sd = -(sg * sg - sx);
-         sy = sy + e * sy2;
+         e = -__builtin_fma (sy, sg, -almost_half);
+         sd = -__builtin_fma (sg, sg, -sx);
+         sy = __builtin_fma (e, sy2, sy);
          shx = sx * fsg;
-         sg = sg + sy * sd;    /* 64-bit approximation to sqrt(sx),
-                                  but perhaps rounded incorrectly.  */
+         sg = __builtin_fma (sy, sd, sg);      /* 64-bit approximation to
+                                                  sqrt(sx), but perhaps
+                                                  rounded incorrectly.  */
          sy2 = sy + sy;
          g = sg * fsg;
-         e = -(sy * sg - almost_half);
-         d = -(g * sg - shx);
-         sy = sy + e * sy2;
+         e = -__builtin_fma (sy, sg, -almost_half);
+         d = -__builtin_fma (g, sg, -shx);
+         sy = __builtin_fma (e, sy2, sy);
          fesetenv_register (fe);
-         return g + sy * d;
+         return __builtin_fma (sy, d, g);
        denorm:
          /* For denormalised numbers, we normalise, calculate the
             square root, and return an adjusted result.  */
Index: glibc-2.21/sysdeps/powerpc/fpu/e_sqrtf.c
===================================================================
--- glibc-2.21.orig/sysdeps/powerpc/fpu/e_sqrtf.c
+++ glibc-2.21/sysdeps/powerpc/fpu/e_sqrtf.c
@@ -87,26 +87,28 @@ __slow_ieee754_sqrtf (float x)
          /* Here we have three Newton-Raphson iterations each of a
             division and a square root and the remainder of the
             argument reduction, all interleaved.   */
-         sd = -(sg * sg - sx);
+         sd = -__builtin_fmaf (sg, sg, -sx);
          fsgi = (xi + 0x40000000) >> 1 & 0x7f800000;
          sy2 = sy + sy;
-         sg = sy * sd + sg;    /* 16-bit approximation to sqrt(sx). */
-         e = -(sy * sg - almost_half);
+         sg = __builtin_fmaf (sy, sd, sg);     /* 16-bit approximation to
+                                                  sqrt(sx). */
+         e = -__builtin_fmaf (sy, sg, -almost_half);
          SET_FLOAT_WORD (fsg, fsgi);
-         sd = -(sg * sg - sx);
-         sy = sy + e * sy2;
+         sd = -__builtin_fmaf (sg, sg, -sx);
+         sy = __builtin_fmaf (e, sy2, sy);
          if ((xi & 0x7f800000) == 0)
            goto denorm;
          shx = sx * fsg;
-         sg = sg + sy * sd;    /* 32-bit approximation to sqrt(sx),
-                                  but perhaps rounded incorrectly.  */
+         sg = __builtin_fmaf (sy, sd, sg);     /* 32-bit approximation to
+                                                  sqrt(sx), but perhaps
+                                                  rounded incorrectly.  */
          sy2 = sy + sy;
          g = sg * fsg;
-         e = -(sy * sg - almost_half);
-         d = -(g * sg - shx);
-         sy = sy + e * sy2;
+         e = -__builtin_fmaf (sy, sg, -almost_half);
+         d = -__builtin_fmaf (g, sg, -shx);
+         sy = __builtin_fmaf (e, sy2, sy);
          fesetenv_register (fe);
-         return g + sy * d;
+         return __builtin_fmaf (sy, d, g);
        denorm:
          /* For denormalised numbers, we normalise, calculate the
             square root, and return an adjusted result.  */
++++++ static-tls-dtv-limit.patch ++++++
++++ 641 lines (skipped)


Reply via email to