6 printf ("#define LINUX_UC_" N "_OFF\t0x%X\n", offsetof (ucontext_t, X))
9 printf ("#define LINUX_SC_" N "_OFF\t0x%X\n", offsetof (struct sigcontext, X))
15 "/* Linux-specific definitions: */\n\n"
17 "/* Define various structure offsets to simplify cross-compilation. */\n\n"
19 "/* Offsets for TILEGX Linux \"ucontext_t\": */\n\n");
21 UC ("FLAGS", uc_flags
);
23 UC ("STACK", uc_stack
);
24 UC ("MCONTEXT", uc_mcontext
);
25 UC ("SIGMASK", uc_sigmask
);
27 UC ("MCONTEXT_GREGS", uc_mcontext
.gregs
);