Skip to content

Commit 0d3672b

Browse files
committed
Increase jump buffer length to 24 to fit all non-volatile registers
1 parent ab4d41f commit 0d3672b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

newlib/libc/include/machine/setjmp.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ _BEGIN_STD_C
2222
#endif
2323

2424
#if defined(__aarch64__)
25-
#define _JBLEN 22
25+
// TODO: Figure out what registers needs to be saved and adjust the size accordingly.
26+
#define _JBLEN 24
2627
#define _JBTYPE long long
2728
#endif
2829

0 commit comments

Comments
 (0)