public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/610] New: get/swapcontext stores fpr29 over gpr29 in ucontext
@ 2004-12-16 18:11 sjmunroe at us dot ibm dot com
2004-12-16 18:13 ` [Bug libc/610] " sjmunroe at us dot ibm dot com
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2004-12-16 18:11 UTC (permalink / raw)
To: glibc-bugs
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/610] get/swapcontext stores fpr29 over gpr29 in ucontext
2004-12-16 18:11 [Bug libc/610] New: get/swapcontext stores fpr29 over gpr29 in ucontext sjmunroe at us dot ibm dot com
@ 2004-12-16 18:13 ` sjmunroe at us dot ibm dot com
2004-12-17 0:35 ` gotom at debian dot or dot jp
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: sjmunroe at us dot ibm dot com @ 2004-12-16 18:13 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From sjmunroe at us dot ibm dot com 2004-12-16 18:13 -------
Created an attachment (id=311)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=311&action=view)
Patch to fix grp/fpr29 typo
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/610] get/swapcontext stores fpr29 over gpr29 in ucontext
2004-12-16 18:11 [Bug libc/610] New: get/swapcontext stores fpr29 over gpr29 in ucontext sjmunroe at us dot ibm dot com
2004-12-16 18:13 ` [Bug libc/610] " sjmunroe at us dot ibm dot com
@ 2004-12-17 0:35 ` gotom at debian dot or dot jp
2004-12-17 3:34 ` roland at gnu dot org
2004-12-17 3:34 ` cvs-commit at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: gotom at debian dot or dot jp @ 2004-12-17 0:35 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From gotom at debian dot or dot jp 2004-12-17 00:35 -------
It seems fine, please look at it.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|gotom at debian dot or dot |drepper at redhat dot com
|jp |
Status|NEW |ASSIGNED
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/610] get/swapcontext stores fpr29 over gpr29 in ucontext
2004-12-16 18:11 [Bug libc/610] New: get/swapcontext stores fpr29 over gpr29 in ucontext sjmunroe at us dot ibm dot com
` (2 preceding siblings ...)
2004-12-17 3:34 ` roland at gnu dot org
@ 2004-12-17 3:34 ` cvs-commit at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-17 3:34 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-17 03:34 -------
Subject: Bug 610
CVSROOT: /cvs/glibc
Module name: libc
Changes by: roland@sources.redhat.com 2004-12-17 03:34:03
Modified files:
sysdeps/unix/sysv/linux/powerpc/powerpc64: getcontext.S
swapcontext.S
Log message:
2004-09-02 Steven Munroe <sjmunroe@us.ibm.com>
[BZ #610]
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
(__novec_getcontext): Fix typo in store of fp29.
(__getcontext): Fix typo in store of fp29.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
(__novec_swapcontext): Fix typo in store of fp29.
(__swapcontext): Fix typo in store of fp29.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S.diff?cvsroot=glibc&r1=1.10&r2=1.11
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S.diff?cvsroot=glibc&r1=1.10&r2=1.11
--
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug libc/610] get/swapcontext stores fpr29 over gpr29 in ucontext
2004-12-16 18:11 [Bug libc/610] New: get/swapcontext stores fpr29 over gpr29 in ucontext sjmunroe at us dot ibm dot com
2004-12-16 18:13 ` [Bug libc/610] " sjmunroe at us dot ibm dot com
2004-12-17 0:35 ` gotom at debian dot or dot jp
@ 2004-12-17 3:34 ` roland at gnu dot org
2004-12-17 3:34 ` cvs-commit at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: roland at gnu dot org @ 2004-12-17 3:34 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From roland at gnu dot org 2004-12-17 03:34 -------
I put the fix in.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-12-17 3:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-16 18:11 [Bug libc/610] New: get/swapcontext stores fpr29 over gpr29 in ucontext sjmunroe at us dot ibm dot com
2004-12-16 18:13 ` [Bug libc/610] " sjmunroe at us dot ibm dot com
2004-12-17 0:35 ` gotom at debian dot or dot jp
2004-12-17 3:34 ` roland at gnu dot org
2004-12-17 3:34 ` cvs-commit at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).