This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/357] getcontext() on ppc32 destroys saved parameter 1 in caller's frame
- From: "sjmunroe at us dot ibm dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 30 Aug 2004 23:22:02 -0000
- Subject: [Bug libc/357] getcontext() on ppc32 destroys saved parameter 1 in caller's frame
- References: <20040830202017.357.qboosh@pld-linux.org>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From sjmunroe at us dot ibm dot com 2004-08-30 23:22 -------
Created an attachment (id=179)
--> (http://sources.redhat.com/bugzilla/attachment.cgi?id=179&action=view)
Here is a patch to try
This patch fixes the problem in the testcase and preserves all registers except
R3. It was the minimum change that would work. But Paul Mackerras points out I
don't really have to perserve any of the volatile registers and burning a few
more registers would speed the code up a bit. I'll look at that tomorrow.
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=357
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.