This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [BZ 16372] fixing tst-longjmp_chk2 on ia64
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: "H.J. Lu" <hjl dot tools at gmail dot com>, libc-alpha at sourceware dot org
- Date: Fri, 27 Dec 2013 18:17:55 +0100
- Subject: Re: [BZ 16372] fixing tst-longjmp_chk2 on ia64
- Authentication-results: sourceware.org; auth=none
- References: <201312270316 dot 31023 dot vapier at gentoo dot org> <87vbya4jz3 dot fsf at igel dot home> <201312271146 dot 20667 dot vapier at gentoo dot org>
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?
> just before the syscall, i update r12:
> mov r12 = r9;
That looks bogus. r9 contains just a temporary value unrelated to the
stack.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."