mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
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
This commit is contained in:
parent
ae3eea8ae8
commit
93e3cb13dd
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user