[BZ 16372] fixing tst-longjmp_chk2 on ia64

Mike Frysinger vapier@gentoo.org
Fri Dec 27 22:38:00 GMT 2013


On Friday 27 December 2013 12:17:55 Andreas Schwab wrote:
> Mike Frysinger <vapier@gentoo.org> writes:
> > afaik, r12 is the sp, so this line is allocating stack_t using the
> > current stack.
> 
> Did you allocate the memory?

what do i need to do to allocate stack space beyond adjusting the stack 
pointer ?  this is probably a dumb question for someone who is well versed in 
ia64 assembly.

> > just before the syscall, i update r12:
> > 	mov r12 = r9;
> 
> That looks bogus.  r9 contains just a temporary value unrelated to the
> stack.

as i said, in a previous version, i was doing:
	adds r9 = -sizeSS, r12;
in which case r9 isn't bogus
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20131227/1060bde8/attachment.sig>


More information about the Libc-alpha mailing list