7b2dd223
a4a3e4db
b470030f
9ec4283b
cb1bf2f3
1 2 3
4
5 6
7
8 9
10
static inline struct pthread *__pthread_self() { struct pthread *self; __asm__ ("movl %%gs:0,%0" : "=r" (self) ); return self; } #define TP_ADJ(p) (p) #define MC_PC gregs[REG_EIP]