Red Hat Linux
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
You seem to have CSS turned off.
Please don't fill out this field.
Briefly describe the problem (required):
Please provide the ad click URL, if possible:
* signal.c (sys_sigreturn) [POWERPC]: Skip dummy stack frame when
locating signal context.
signal.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/signal.c b/signal.c
index c1d6eb0..bf97e90 100644
@@ -1329,6 +1329,12 @@ sys_sigreturn(struct tcb *tcp)
tcp->u_arg = 0;
if (upeek(tcp, sizeof(unsigned long)*PT_R1, &esp) < 0)
+ /* Skip dummy stack frame. */
+ esp += 128;
+ esp += 64;
if (umove(tcp, esp, &sc) < 0)
tcp->u_arg = 1;
Andreas Schwab, schwab@...
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Sign up for the SourceForge newsletter: