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
/
dlopen.c
blob
dcdb439847d939bfc2c6a2d5a37e3e588876eca3
1
#include <dlfcn.h>
2
#include
"libc.h"
3
4
__attribute__
((
__visibility__
(
"hidden"
)))
5
void
__dl_seterr
(
const char
*, ...);
6
7
static void
*
stub_dlopen
(
const char
*
file
,
int
mode
)
8
{
9
__dl_seterr
(
"Dynamic loading not supported"
);
10
return
0
;
11
}
12
13
weak_alias
(
stub_dlopen
,
dlopen
);