diff options
author | Stafford Horne <shorne@gmail.com> | 2021-10-20 06:52:38 +0900 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2022-01-05 06:40:06 +0900 |
commit | 7d334b18312dad7dcec9544d365c066d0105c183 (patch) | |
tree | e14a87db2736772bea8875671b0bd161b8b28cf8 /sysdeps/unix/sysv/linux/or1k/ucontext_i.sym | |
parent | 1871c95f2bf06e33e8e2bc8387dca6ed46cc829a (diff) | |
download | glibc-7d334b18312dad7dcec9544d365c066d0105c183.tar.gz glibc-7d334b18312dad7dcec9544d365c066d0105c183.tar.xz glibc-7d334b18312dad7dcec9544d365c066d0105c183.zip |
or1k: Linux ABI
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/or1k/ucontext_i.sym')
-rw-r--r-- | sysdeps/unix/sysv/linux/or1k/ucontext_i.sym | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/or1k/ucontext_i.sym b/sysdeps/unix/sysv/linux/or1k/ucontext_i.sym new file mode 100644 index 0000000000..a8d4db080f --- /dev/null +++ b/sysdeps/unix/sysv/linux/or1k/ucontext_i.sym @@ -0,0 +1,26 @@ +#include <inttypes.h> +#include <signal.h> +#include <stddef.h> +#include <sys/ucontext.h> + +-- Constants used by the rt_sigprocmask call. + +SIG_BLOCK +SIG_SETMASK + +_NSIG8 (_NSIG / 8) + +-- Offsets of the fields in the ucontext_t structure. +#define ucontext(member) offsetof (ucontext_t, member) +#define stack(member) ucontext (uc_stack.member) + +UCONTEXT_LINK ucontext (uc_link) +UCONTEXT_STACK ucontext (uc_stack) +UCONTEXT_MCONTEXT ucontext (uc_mcontext) +UCONTEXT_SIGMASK ucontext (uc_sigmask) + +STACK_SP stack (ss_sp) +STACK_SIZE stack (ss_size) +STACK_FLAGS stack (ss_flags) + +UCONTEXT_SIZE sizeof (ucontext_t) |