4 #include <asm/sigcontext.h>
7 printf ("#define LINUX_UC_" N "_OFF\t0x%X\n", offsetof (ucontext_t, X))
10 printf ("#define LINUX_SC_" N "_OFF\t0x%X\n", offsetof (struct sigcontext, X))
16 "/* Linux-specific definitions: */\n\n"
18 "/* Define various structure offsets to simplify cross-compilation. */\n\n"
20 "/* Offsets for AArch64 Linux \"ucontext_t\": */\n\n");
22 UC ("FLAGS", uc_flags
);
24 UC ("STACK", uc_stack
);
25 UC ("MCONTEXT", uc_mcontext
);
26 UC ("SIGMASK", uc_sigmask
);
28 printf ("\n/* Offsets for AArch64 Linux \"struct sigcontext\": */\n\n");
65 SC ("Fault", fault_address
);