summaryrefslogtreecommitdiff
path: root/src/ldso/dynlink.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-14 11:39:11 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-14 11:39:11 -0400
commit72b25ddb77ca0974b6f448a4290d21154a221474 (patch)
treeec93468567eef410a75f4e7f8cc5b3732e838f62 /src/ldso/dynlink.c
parentcbc02ba23cec16d7a821648ea8424546bc7f02dc (diff)
downloadmusl-72b25ddb77ca0974b6f448a4290d21154a221474.tar.gz
musl-72b25ddb77ca0974b6f448a4290d21154a221474.tar.bz2
musl-72b25ddb77ca0974b6f448a4290d21154a221474.tar.xz
musl-72b25ddb77ca0974b6f448a4290d21154a221474.zip
use hidden visibility for call from dlsym to internal __dlsym
Diffstat (limited to 'src/ldso/dynlink.c')
-rw-r--r--src/ldso/dynlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c
index 0151f74d..122fc49e 100644
--- a/src/ldso/dynlink.c
+++ b/src/ldso/dynlink.c
@@ -1598,6 +1598,7 @@ int __dladdr(const void *addr, Dl_info *info)
return 1;
}
+__attribute__((__visibility__("hidden")))
void *__dlsym(void *restrict p, const char *restrict s, void *restrict ra)
{
void *res;