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:
@@ -47,14 +47,14 @@
|
|||||||
* - return address (to jump to upon longjmp)
|
* - return address (to jump to upon longjmp)
|
||||||
* - x87 control word
|
* - x87 control word
|
||||||
*
|
*
|
||||||
* ARMv7 (8 * 4 + 16 * 4 bytes):
|
* ARMv7 (10 * 4 + 16 * 4 bytes):
|
||||||
* - r4 - r11
|
* - r4 - r11, sp, lr
|
||||||
* - s16 - s31 (if hardfp enabled)
|
* - s16 - s31 (if hardfp enabled)
|
||||||
*
|
*
|
||||||
* See also:
|
* See also:
|
||||||
* setjmp, longjmp
|
* 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 int setjmp (jmp_buf env);
|
||||||
extern EXTERN_C void longjmp (jmp_buf env, int val);
|
extern EXTERN_C void longjmp (jmp_buf env, int val);
|
||||||
|
|||||||
Reference in New Issue
Block a user