summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bsd-setjmp.S
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-12-29 03:13:13 +0300
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-29 11:59:47 +0100
commit382f51ae1cafb977d7a17b9aee62e098396886f3 (patch)
tree7e3fa03bd5cc5d63bab024c26da6381972f67746 /libc/sysdeps/linux/mips/bsd-setjmp.S
parent0ad73077c230093ae004829da44418597f330c6a (diff)
xtensa: fix vfork return address calculations
vfork internally unwinds stack up one frame, saving the original return address in the a3 of the unwound frame. To do this in windowed ABI it needs to exchange two topmost bits of the original return address and of the helper entry point. Current code doesn't do it correctly for addresses above 0x40000000, resulting in illegal instruction exception for configurations that put code high, e.g. for noMMU. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/mips/bsd-setjmp.S')
0 files changed, 0 insertions, 0 deletions