source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/ldso/__dlsym.c
Last change on this file was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 293 bytes |
Line | |
---|---|
1 | #include <dlfcn.h> |
2 | #include "libc.h" |
3 | |
4 | __attribute__((__visibility__("hidden"))) |
5 | void __dl_seterr(const char *, ...); |
6 | |
7 | static void *stub_dlsym(void *restrict p, const char *restrict s, void *restrict ra) |
8 | { |
9 | __dl_seterr("Symbol not found: %s", s); |
10 | return 0; |
11 | } |
12 | |
13 | weak_alias(stub_dlsym, __dlsym); |
Note:
See TracBrowser
for help on using the repository browser.