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
iconv: add euro symbol to GBK as single byte 0x80
[musl.git]
/
src
/
ldso
/
__dlsym.c
blob
0384f97e96099259b918c2f9d52c618e41f37135
1
#include <dlfcn.h>
2
#include
"dynlink.h"
3
4
static void
*
stub_dlsym
(
void
*
restrict p
,
const char
*
restrict s
,
void
*
restrict ra
)
5
{
6
__dl_seterr
(
"Symbol not found: %s"
,
s
);
7
return
0
;
8
}
9
10
weak_alias
(
stub_dlsym
,
__dlsym
);
11
12
#if _REDIR_TIME64
13
weak_alias
(
stub_dlsym
,
__dlsym_redir_time64
);
14
#endif