Skip to content

Commit 5ae8994

Browse files
committed
Remove setjmp and longjmp ,and reuse the aarch64 implementation with a new config.json
1 parent b940c7c commit 5ae8994

File tree

3 files changed

+8
-174
lines changed

3 files changed

+8
-174
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"setjmp": {
3+
"LIBC_CONF_SETJMP_AARCH64_RESTORE_PLATFORM_REGISTER": {
4+
"value": false,
5+
"doc": "Avoid setjmp saving the value of x18, and longjmp restoring it. The Apple AArch64 ABI specifies that this register is reserved and should not be used"
6+
}
7+
}
8+
}

libc/src/setjmp/darwin/aarch64/longjmp.cpp

Lines changed: 0 additions & 87 deletions
This file was deleted.

libc/src/setjmp/darwin/aarch64/setjmp.cpp

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)