Andreas Kling
7b9ea3efde
Kernel+Userland: Remove uses of the __i386__ compiler macro
2022-12-28 11:53:41 +01:00
Gunnar Beutner
a7a71be113
LibC: Fix some compiler errors
...
__x86_64__ isn't defined at all on AARCH64.
2022-10-14 13:01:13 +02:00
Brian Gianforcaro
49749e279a
LibC: Implement _setjmp and _longjmp
...
These are aliases to `setjmp()` and `longjmp()` on our system,
as our implementations don't modify the signal mask.
This is required for the syzkaller executor process.
2021-12-24 05:26:21 -08:00
Andreas Kling
af9d4281eb
LibC: Run clang-format on setjmp.h
2021-08-31 01:37:30 +02:00
Dimenus
de0861581e
Userland: Guard set_jmp.h static_assert check to cpp impls only
2021-08-31 00:47:18 +02:00
Nico Weber
7052f403c8
Toolchain: Enough to make rebuild-toolchain aarch64
work
...
The gcc patch might not be completely correct, but at least the
toolchain completes building.
2021-08-28 14:43:07 +01:00
Jean-Baptiste Boric
0248e6ae27
LibC: Check for expected size of struct __jmp_buf
...
This structure is accessed through assembly code inside setjmp.S, make
some effort to ensure both header and assembly files are in sync.
2021-08-26 00:54:23 +02:00
Jean-Baptiste Boric
c972afbea6
LibC: Fix sigsetjmp and siglongjmp
2021-08-18 10:33:48 +02:00
Andreas Kling
33260ea99b
LibC: Fix jmp_buf layout on x86_64
...
This struct was too small on x86_64, but setjmp() would happily write
past the end of it.
This makes `test-js` run to completion on x86_64 :^)
2021-07-01 12:05:59 +02:00
Brian Gianforcaro
1682f0b760
Everything: Move to SPDX license identifiers in all files.
...
SPDX License Identifiers are a more compact / standardized
way of representing file license information.
See: https://spdx.dev/resources/use/#identifiers
This was done with the `ambr` search and replace tool.
ambr --no-parent-ignore --key-from-file --rep-from-file key.txt rep.txt *
2021-04-22 11:22:27 +02:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00