1 /* Copyright (C) 2003 - 2004 PathScale, Inc
2 * Released under the GPL
6 #include <user-offsets.h>
8 #define SC_OFFSET(name) \
9 printf("#define " #name \
10 "(sc) *((unsigned long *) &(((char *) (sc))[%d]))\n",\
13 int main(int argc
, char **argv
)
39 SC_OFFSET(SC_SIGMASK
);
41 SC_OFFSET(SC_ORIG_RAX
);