arm: fix __JMP_BUF_SP definition
commita8187cd20769fd1a4dddbb51d86363eb80b40b9d
authorMax Filippov <jcmvbkbc@gmail.com>
Sun, 28 Feb 2016 19:46:11 +0000 (28 22:46 +0300)
committerWaldemar Brodkorb <wbx@openadk.org>
Mon, 29 Feb 2016 17:33:48 +0000 (29 18:33 +0100)
tree3f9499d4b5f8bfdd6860cdada39d9049ffc539af
parentc8d441345fb301e6f5aa828f217d377dbc4f252b
arm: fix __JMP_BUF_SP definition

__JMP_BUF_SP is the index of a stack pointer slot in the __jmp_buf.
According to ARM __sigsetjmp code it does not depend on configuration
parameter __UCLIBC_HAS_FPU__. Make its definition unconditional.

__JMP_BUF_SP is used in the unwind_stop through the
_JMPBUF_CFA_UNWINDS_ADJ macro, this change fixes cleanup routines call
on thread cancellation in configurations with hard FP.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
libc/sysdeps/linux/arm/jmpbuf-offsets.h