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:
parent
41cb705b47
commit
743f46030c
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue