xtensa: fix setjmp that didn't save all registers correctly
commitf4b1b7ade7971141aa3bf731894053696b0ca4e9
authorChris Zankel <chris@zankel.net>
Wed, 5 Dec 2012 22:00:44 +0000 (5 14:00 -0800)
committerChris Zankel <chris@zankel.net>
Wed, 5 Dec 2012 22:25:07 +0000 (5 14:25 -0800)
tree70497675a676628d409090329da6a76ccc03d4e7
parentae9e3f46520c35dd77f7f2a26f789a94276e6a8c
xtensa: fix setjmp that didn't save all registers correctly

Setjmp was only saving the lower order of registers (a0-a3) correctly, but
not the higher ones (a4-a8/a12).
The change also includes additional information, and renames many of the
registers, so that setjmp and longjmp look more like the inverse of
each other.

Signed-off-by: Chris Zankel <chris@zankel.net>
libc/sysdeps/linux/xtensa/setjmp.S