1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-29 18:27:37 +01:00

Define ucontext_t, sigcontext_t, and strct rt_sigframe offsets and

pray they never change.

2004/12/02 00:40:45-08:00 mostang.com!davidm

(Logical change 1.290)
This commit is contained in:
hp.com!davidm 2005-05-03 09:13:17 +00:00
parent 7c4be6f9bc
commit 7b17187a39

17
src/hppa/offsets.h Normal file
View file

@ -0,0 +1,17 @@
#define LINUX_UC_FLAGS_OFF 0x000
#define LINUX_UC_LINK_OFF 0x004
#define LINUX_UC_STACK_OFF 0x008
#define LINUX_UC_MCONTEXT_OFF 0x018
#define LINUX_UC_SIGMASK_OFF 0x1b8
#define LINUX_SC_FLAGS_OFF 0x000
#define LINUX_SC_GR_OFF 0x004
#define LINUX_SC_FR_OFF 0x088
#define LINUX_SC_IASQ_OFF 0x188
#define LINUX_SC_IAOQ_OFF 0x190
#define LINUX_SC_SAR_OFF 0x198
/* The signal frame contains 4 words of space for the sigreturn
trampoline, the siginfo structure, and then the sigcontext
structure. See include/asm-parisc/compat_rt_sigframe.h. */
#define LINUX_RT_SIGFRAME_UC_OFF 0xac