mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-11 05:40:06 +00:00
bc801b3a40
It requires less boilerplate code for newer ports. The _Static_assert checks from internal setjmp are moved to its own internal test since setjmp.h is included early by multiple headers (to generate rtld-sizes.sym). The riscv jmp_buf-macros.h check is also redundant, it is already done by riscv configure.ac. Checked with a build for the affected architectures.
7 lines
169 B
Plaintext
7 lines
169 B
Plaintext
#include <setjmpP.h>
|
|
#include <stddef.h>
|
|
#undef __saved_mask
|
|
|
|
--
|
|
SHADOW_STACK_POINTER_OFFSET offsetof(struct __jmp_buf_tag, __saved_mask.__saved.__shadow_stack_pointer)
|