repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix invalid free of duplocale object when malloc has been replaced
[musl.git]
/
arch
/
i386
/
pthread_arch.h
blob
a639c382ac2af5b351adfb2f728264e7ea4f932d
1
static
inline
uintptr_t
__get_tp
()
2
{
3
uintptr_t
tp
;
4
__asm__
(
"movl %%gs:0,%0"
:
"=r"
(
tp
) );
5
return
tp
;
6
}
7
8
#define MC_PC gregs[REG_EIP]