fix support for initialized TLS in static PIE binaries
[musl.git] / src / ldso / dlsym.c
blobc0f50e923b857d5e359fce641f0c6e0e77d81245
1 #include <dlfcn.h>
3 void *__dlsym(void *restrict, const char *restrict, void *restrict);
5 void *dlsym(void *restrict p, const char *restrict s)
7 return __dlsym(p, s, 0);