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
powerpc-sf longjmp clobbering of val argument
[musl.git]
/
src
/
thread
/
__tls_get_addr.c
blob
19524fe07671f8fce6e27a0243883b7e45ce5cb4
1
#include
"pthread_impl.h"
2
3
void
*
__tls_get_addr
(
tls_mod_off_t
*
v
)
4
{
5
pthread_t self
=
__pthread_self
();
6
return
(
void
*)(
self
->
dtv
[
v
[
0
]] +
v
[
1
]);
7
}