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 support for initialized TLS in static PIE binaries
[musl.git]
/
src
/
ldso
/
dlsym.c
blob
c0f50e923b857d5e359fce641f0c6e0e77d81245
1
#include <dlfcn.h>
2
3
void
*
__dlsym
(
void
*
restrict
,
const char
*
restrict
,
void
*
restrict
);
4
5
void
*
dlsym
(
void
*
restrict p
,
const char
*
restrict s
)
6
{
7
return
__dlsym
(
p
,
s
,
0
);
8
}