Experimental patch to default PPC64 to no-execstack support. This will need
[glibc.git] / sysdeps / unix / sysv / linux / powerpc / powerpc64 / ucontext_i.sym
bloba35418d9d4ff96a90bf5dbf5a1ef060f31c8b9fe
1 #include <stddef.h>
2 #include <signal.h>
3 #include <sys/ucontext.h>
5 --
7 SIG_BLOCK
8 SIG_SETMASK
11 -- Offsets of the fields in the powerpc64 ABI stack frame.
12 -- XXX Do these correspond to some struct?
14 FRAME_BACKCHAIN         0
15 FRAME_CR_SAVE           8
16 FRAME_LR_SAVE           16
17 FRAME_COMPILER_DW       24
18 FRAME_LINKER_DW         32
19 FRAME_TOC_SAVE          40
20 FRAME_PARM_SAVE         48
21 FRAME_PARM1_SAVE        48
22 FRAME_PARM2_SAVE        56
23 FRAME_PARM3_SAVE        64
24 FRAME_PARM4_SAVE        72
25 FRAME_PARM5_SAVE        80
26 FRAME_PARM6_SAVE        88
27 FRAME_PARM7_SAVE        96
28 FRAME_PARM8_SAVE        104
29 FRAME_PARM9_SAVE        112
32 -- Offsets of the fields in the ucontext_t structure.
33 #define ucontext(member)        offsetof (ucontext_t, member)
34 #define mcontext(member)        ucontext (uc_mcontext.member)
36 UCONTEXT_LINK                   ucontext (uc_link)
37 UCONTEXT_STACK                  ucontext (uc_stack)
38 UCONTEXT_STACK_SP               ucontext (uc_stack.ss_sp)
39 UCONTEXT_STACK_FLAGS            ucontext (uc_stack.ss_flags)
40 UCONTEXT_STACK_SIZE             ucontext (uc_stack.ss_size)
41 UCONTEXT_SIGMASK                ucontext (uc_sigmask)
42 UCONTEXT_MCONTEXT               ucontext (uc_mcontext)
43 SIGCONTEXT_SIGNAL               mcontext (signal)
44 SIGCONTEXT_HANDLER              mcontext (handler)
45 SIGCONTEXT_OLDMASK              mcontext (oldmask)
46 SIGCONTEXT_PT_REGS              mcontext (regs)
47 SIGCONTEXT_GP_REGS              mcontext (gp_regs)
48 SIGCONTEXT_FP_REGS              mcontext (fp_regs)
49 SIGCONTEXT_V_REGS_PTR           mcontext (v_regs)
50 SIGCONTEXT_V_RESERVE            mcontext (vmx_reserve)