1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 20:47:45 +00:00

LibC: Declare _setjmp and _longjmp on non i386 platforms

These aliases were previously only implemented for i386 and are required
for certain Ports e.g. Lua.
This commit is contained in:
Jan200101 2022-10-03 19:55:01 +02:00 committed by Andrew Kaster
parent 41cb705b47
commit 743f46030c
2 changed files with 8 additions and 0 deletions

View file

@ -4,12 +4,16 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
.global _setjmp
.global setjmp
_setjmp:
setjmp:
# FIXME: Possibly incomplete.
ret
.global _longjmp
.global longjmp
_longjmp:
longjmp:
# FIXME: Possibly incomplete.
ret