[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4619 - in glibc-package/branches/eglibc-2.13/debian: . patches patches/amd64



Author: aurel32
Date: 2011-05-01 14:29:33 +0000 (Sun, 01 May 2011)
New Revision: 4619

Added:
   glibc-package/branches/eglibc-2.13/debian/patches/amd64/cvs-getcontext.diff
Modified:
   glibc-package/branches/eglibc-2.13/debian/changelog
   glibc-package/branches/eglibc-2.13/debian/patches/series
Log:
  * Add patches/amd64/cvs-getcontext.diff to fix getcontext() on amd64.



Modified: glibc-package/branches/eglibc-2.13/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/changelog	2011-05-01 14:27:19 UTC (rev 4618)
+++ glibc-package/branches/eglibc-2.13/debian/changelog	2011-05-01 14:29:33 UTC (rev 4619)
@@ -151,6 +151,7 @@
     LEVEL*CACHE* entries.  Closes: #620203.
   * Add patches/i386/submitted-memove-static.diff to fix static linking
     with FORTIFY.
+  * Add patches/amd64/cvs-getcontext.diff to fix getcontext() on amd64.
 
   [ Samuel Thibault ]
   * Add patches/any/cvs-glro_dl_debug_mask.diff to fix build without

Added: glibc-package/branches/eglibc-2.13/debian/patches/amd64/cvs-getcontext.diff
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/patches/amd64/cvs-getcontext.diff	                        (rev 0)
+++ glibc-package/branches/eglibc-2.13/debian/patches/amd64/cvs-getcontext.diff	2011-05-01 14:29:33 UTC (rev 4619)
@@ -0,0 +1,18 @@
+2011-04-17  Ulrich Drepper  <drepper@gmail.com>
+
+	[BZ #12420]
+	* sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
+	storing it.
+
+diff --git a/sysdeps/unix/sysv/linux/x86_64/getcontext.S b/sysdeps/unix/sysv/linux/x86_64/getcontext.S
+index 4bbc7a4..1a31d72 100644
+--- a/sysdeps/unix/sysv/linux/x86_64/getcontext.S
++++ b/sysdeps/unix/sysv/linux/x86_64/getcontext.S
+@@ -62,6 +62,7 @@ ENTRY(__getcontext)
+ 	movq	%rcx, oFPREGS(%rdi)
+ 	/* Save the floating-point environment.  */
+ 	fnstenv	(%rcx)
++	fldenv	(%rcx)
+ 	stmxcsr oMXCSR(%rdi)
+ 
+ 	/* Save the current signal mask with

Modified: glibc-package/branches/eglibc-2.13/debian/patches/series
===================================================================
--- glibc-package/branches/eglibc-2.13/debian/patches/series	2011-05-01 14:27:19 UTC (rev 4618)
+++ glibc-package/branches/eglibc-2.13/debian/patches/series	2011-05-01 14:29:33 UTC (rev 4619)
@@ -62,6 +62,7 @@
 amd64/local-linuxthreads-gscope.diff
 amd64/submitted-tst-audit6-avx.diff
 amd64/submitted-rwlock-stack-imbalance.diff
+amd64/cvs-getcontext.diff
 
 arm/local-atomic.diff
 arm/local-eabi-wchar.diff


Reply to: