~ubuntu-branches/ubuntu/precise/eglibc/precise

« back to all changes in this revision

Viewing changes to debian/patches/amd64/cvs-getcontext.diff

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2011-10-04 17:48:26 UTC
  • mfrom: (216.1.23 oneiric)
  • Revision ID: package-import@ubuntu.com-20111004174826-2cyb9ewn3ucymlsx
Tags: 2.13-20ubuntu5
libc6-dev: Don't break the current {gnat,gcj}-4.4-base versons. LP: #853688.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2011-04-17  Ulrich Drepper  <drepper@gmail.com>
 
2
 
 
3
        [BZ #12420]
 
4
        * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
 
5
        storing it.
 
6
 
 
7
diff --git a/sysdeps/unix/sysv/linux/x86_64/getcontext.S b/sysdeps/unix/sysv/linux/x86_64/getcontext.S
 
8
index 4bbc7a4..1a31d72 100644
 
9
--- a/sysdeps/unix/sysv/linux/x86_64/getcontext.S
 
10
+++ b/sysdeps/unix/sysv/linux/x86_64/getcontext.S
 
11
@@ -62,6 +62,7 @@ ENTRY(__getcontext)
 
12
        movq    %rcx, oFPREGS(%rdi)
 
13
        /* Save the floating-point environment.  */
 
14
        fnstenv (%rcx)
 
15
+       fldenv  (%rcx)
 
16
        stmxcsr oMXCSR(%rdi)
 
17
 
 
18
        /* Save the current signal mask with