This is the mail archive of the libc-alpha@sourceware.org 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]

Re: [BZ 16372] fixing tst-longjmp_chk2 on ia64


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

Attachment: signature.asc
Description: This is a digitally signed message part.


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