2.9
[glibc/nacl-glibc.git] / sysdeps / unix / sysv / linux / sh / sh3 / ucontext_i.sym
blob17397c55112c665ae76d19f80f0b4dd8b18e81d4
1 #include <stddef.h>
2 #include <signal.h>
3 #include <sys/ucontext.h>
5 --
7 SIG_BLOCK
8 SIG_SETMASK
10 #define ucontext(member)        offsetof (ucontext_t, member)
11 #define mcontext(member)        ucontext (uc_mcontext.member)
13 oLINK           ucontext (uc_link)
14 oSS_SP          ucontext (uc_stack.ss_sp)
15 oSS_SIZE        ucontext (uc_stack.ss_size)
16 oR0             mcontext (gregs[R0])
17 oR1             mcontext (gregs[R1])
18 oR2             mcontext (gregs[R2])
19 oR3             mcontext (gregs[R3])
20 oR4             mcontext (gregs[R4])
21 oR5             mcontext (gregs[R5])
22 oR6             mcontext (gregs[R6])
23 oR7             mcontext (gregs[R7])
24 oR8             mcontext (gregs[R8])
25 oR9             mcontext (gregs[R9])
26 oR10            mcontext (gregs[R10])
27 oR11            mcontext (gregs[R11])
28 oR12            mcontext (gregs[R12])
29 oR13            mcontext (gregs[R13])
30 oR14            mcontext (gregs[R14])
31 oR15            mcontext (gregs[R15])
32 oPC             mcontext (pc)
33 oPR             mcontext (pr)
34 oSR             mcontext (sr)
35 oGBR            mcontext (gbr)
36 oMACH           mcontext (mach)
37 oMACL           mcontext (macl)
38 oSIGMASK        ucontext (uc_sigmask)