libucontext/arch
Sören Tempel d0b03541bf
ci/woodpecker/push/woodpecker Pipeline was successful Details
common-trampoline: Ensure omission of frame-pointer
Some architecture-specific implementations of the FETCH_LINKPTR
(e.g. the one for x86) attempt to find the linkptr relative to the
stack pointer. Therefore, they make assumption about the value of
the SP at the point where the FETCH_LINKPTR code is executed. This
means that we don't want the C compiler to mess with our SP.

For this purpose, local variables in this function are currently
declared using the register storage specifier. Additionally, we
need to make sure that a frame pointer is /always/ omitted for
this function. On x86 Alpine, the frame pointer is presently not
omitted with GCC 13 when using -Os, therefore the tests segfault
with -Os on Alpine presently.

Fixes #52
2024-08-07 17:46:50 -07:00
..
aarch64 aarch64: fix return value if getcontext was used to acquire the current context. 2024-08-07 17:45:47 -07:00
arm libucontext: Add patch fixing return values of get/set/swapcontext 2024-08-07 17:44:43 -07:00
common common-trampoline: Ensure omission of frame-pointer 2024-08-07 17:46:50 -07:00
loongarch64 Add support for Loongarch64 2021-06-04 09:07:38 -06:00
m68k everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
mips project: move freestanding include headers 2021-03-08 13:02:27 -08:00
mips64 project: move freestanding include headers 2021-03-08 13:02:27 -08:00
or1k or1k: add freestanding bits 2022-02-13 09:06:58 +00:00
ppc everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
ppc64 everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
riscv32 everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
riscv64 everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
s390x everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
sh everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
x86 everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00
x86_64 everywhere: drop _GNU_SOURCE requirement 2021-03-09 00:25:13 -07:00