r6269 - in glibc-package/trunk/debian: . patches/kfreebsd
Author: ps-guest
Date: 2014-09-12 13:25:27 +0000 (Fri, 12 Sep 2014)
New Revision: 6269
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/kfreebsd/local-fbtl.diff
Log:
kfreebsd/local-fbtl.diff: update to revision 5520 - fixes x87 precision mode in newly created pthreads. Closes: #761175.
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2014-09-04 13:40:39 UTC (rev 6268)
+++ glibc-package/trunk/debian/changelog 2014-09-12 13:25:27 UTC (rev 6269)
@@ -17,6 +17,10 @@
conffiles /etc/ld.so.conf.d/i486-{kfreebsd-gnu.conf,gnu-gnu.conf,gnu.conf}.
Closes: #759568.
+ [ Petr Salinger ]
+ * kfreebsd/local-fbtl.diff: update to revision 5520 (from glibc-bsd).
+ Fixes x87 precision mode in newly created pthreads. Closes: #761175.
+
-- Aurelien Jarno <aurel32@debian.org> Wed, 27 Aug 2014 08:22:41 +0200
glibc (2.19-10) unstable; urgency=medium
Modified: glibc-package/trunk/debian/patches/kfreebsd/local-fbtl.diff
===================================================================
--- glibc-package/trunk/debian/patches/kfreebsd/local-fbtl.diff 2014-09-04 13:40:39 UTC (rev 6268)
+++ glibc-package/trunk/debian/patches/kfreebsd/local-fbtl.diff 2014-09-12 13:25:27 UTC (rev 6269)
@@ -16948,7 +16948,7 @@
+fi
--- /dev/null
+++ b/fbtl/descr.h
-@@ -0,0 +1,406 @@
+@@ -0,0 +1,410 @@
+/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -16989,6 +16989,7 @@
+#define __need_res_state
+#include <resolv.h>
+#include <kernel-features.h>
++#include <fpu_control.h>
+
+#ifndef TCB_ALIGNMENT
+# define TCB_ALIGNMENT sizeof (double)
@@ -17346,6 +17347,9 @@
+ /* Resolver state. */
+ struct __res_state res;
+
++ /* FPU initial control word */
++ fpu_control_t fpu_control_init;
++
+ /* This member must be last. */
+ char end_padding[];
+
@@ -23186,7 +23190,7 @@
+}
--- /dev/null
+++ b/fbtl/pthread_create.c
-@@ -0,0 +1,664 @@
+@@ -0,0 +1,672 @@
+/* Copyright (C) 2002-2013 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
@@ -23428,6 +23432,10 @@
+ THREAD_SETMEM (pd, cpuclock_offset, now);
+#endif
+
++#if 1
++ _FPU_SETCW(pd->fpu_control_init);
++#endif
++
+ /* Initialize resolver state pointer. */
+ __resp = &pd->res;
+
@@ -23719,6 +23727,10 @@
+ pd->schedpolicy = self->schedpolicy;
+ pd->schedparam = self->schedparam;
+
++#if 1
++ _FPU_GETCW(pd->fpu_control_init);
++#endif
++
+ /* Copy the stack guard canary. */
+#ifdef THREAD_COPY_STACK_GUARD
+ THREAD_COPY_STACK_GUARD (pd);
Reply to: