This is the mail archive of the glibc-bugs@sources.redhat.com 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]

[Bug libc/610] New: get/swapcontext stores fpr29 over gpr29 in ucontext


Due to a typo powerpc64/getcontext.S and powerpc64/swapcontext.S store gpr29 af
offset 464 (correctly) then later stores fpr29 at the same offset 464 instead of
the correct offset (848). This globbers the value of grp29 and does not preserve
the value of fpr29. So setcontext/swapcontext can't restore the correct
grp29/fpr29 values.

-- 
           Summary: get/swapcontext stores fpr29 over gpr29 in ucontext
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: critical
          Priority: P1
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: sjmunroe at us dot ibm dot com
                CC: glibc-bugs at sources dot redhat dot com,sjmunroe at us
                    dot ibm dot com
 GCC build triplet: powerpc64-linux
  GCC host triplet: powerpc64-linux
GCC target triplet: powerpc64-linux


http://sources.redhat.com/bugzilla/show_bug.cgi?id=610

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]