From 93e3cb13ddbd19cd3c74a6fe2bf2334d0f85ae53 Mon Sep 17 00:00:00 2001 From: SaeHie Park Date: Fri, 3 Jul 2015 11:07:42 +0900 Subject: [PATCH] Fix jmp_buf size to fix assert in arm-linux Related issue: #296 JerryScript-DCO-1.0-Signed-off-by: SaeHie Park saehie.park@samsung.com --- jerry-libc/include/setjmp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jerry-libc/include/setjmp.h b/jerry-libc/include/setjmp.h index 35ae5ae59..521b63dfc 100644 --- a/jerry-libc/include/setjmp.h +++ b/jerry-libc/include/setjmp.h @@ -47,14 +47,14 @@ * - return address (to jump to upon longjmp) * - x87 control word * - * ARMv7 (8 * 4 + 16 * 4 bytes): - * - r4 - r11 + * ARMv7 (10 * 4 + 16 * 4 bytes): + * - r4 - r11, sp, lr * - s16 - s31 (if hardfp enabled) * * See also: * setjmp, longjmp */ -typedef uint64_t jmp_buf[12]; +typedef uint64_t jmp_buf[14]; extern EXTERN_C int setjmp (jmp_buf env); extern EXTERN_C void longjmp (jmp_buf env, int val);