From a8187cd20769fd1a4dddbb51d86363eb80b40b9d Mon Sep 17 00:00:00 2001 From: Max Filippov Date: Sun, 28 Feb 2016 22:46:11 +0300 Subject: 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 --- libc/sysdeps/linux/arm/jmpbuf-offsets.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/arm/jmpbuf-offsets.h b/libc/sysdeps/linux/arm/jmpbuf-offsets.h index f0e587f18..93b50afc5 100644 --- a/libc/sysdeps/linux/arm/jmpbuf-offsets.h +++ b/libc/sysdeps/linux/arm/jmpbuf-offsets.h @@ -16,8 +16,4 @@ License along with the GNU C Library; if not, see . */ -#ifdef __UCLIBC_HAS_FPU__ -#define __JMP_BUF_SP 20 -#else #define __JMP_BUF_SP 8 -#endif -- cgit v1.2.3