diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-04-14 00:28:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-04-14 00:28:30 -0400 |
commit | f1faa0e12fd68379420b07ebf2eba43a5be1f2d3 (patch) | |
tree | 9812f1cc6247773ecfa5d142e6a42937a2533fa2 /src | |
parent | f4f9562cc963181ca0ea04fbe6d31f4ca14a5d8c (diff) | |
download | musl-f1faa0e12fd68379420b07ebf2eba43a5be1f2d3.tar.gz musl-f1faa0e12fd68379420b07ebf2eba43a5be1f2d3.tar.xz musl-f1faa0e12fd68379420b07ebf2eba43a5be1f2d3.zip |
make _dlstart_c function use hidden visibility
otherwise the call/jump from the crt_arch.h asm may not resolve correctly without -Bsymbolic-functions.
Diffstat (limited to 'src')
-rw-r--r-- | src/ldso/dlstart.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldso/dlstart.c b/src/ldso/dlstart.c index 5bd2a080..46f4a5c6 100644 --- a/src/ldso/dlstart.c +++ b/src/ldso/dlstart.c @@ -9,6 +9,7 @@ #include "crt_arch.h" +__attribute__((__visibility__("hidden"))) void _dlstart_c(size_t *sp, size_t *dynv) { size_t i, aux[AUX_CNT], dyn[DYN_CNT]; |