Blob


1 /*
2 * setjmp and longjmp, but our own because some (stupid) c libraries
3 * assume longjmp is only used to move up the stack, and error out
4 * if you do otherwise.
5 */
7 typedef struct Label Label;
8 #define LABELDPC 0
10 #if defined (__i386__) && (defined(__FreeBSD__) || defined(__linux__))
11 struct Label
12 {
13 ulong pc;
14 ulong bx;
15 ulong sp;
16 ulong bp;
17 ulong si;
18 ulong di;
19 };
20 #else
21 #error "Unknown or unsupported architecture"
22 #endif