From: Rich Felker Date: Tue, 14 Apr 2015 04:28:30 +0000 (-0400) Subject: make _dlstart_c function use hidden visibility X-Git-Tag: v1.1.9~75 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f1faa0e12fd68379420b07ebf2eba43a5be1f2d3;p=oweals%2Fmusl.git make _dlstart_c function use hidden visibility otherwise the call/jump from the crt_arch.h asm may not resolve correctly without -Bsymbolic-functions. --- 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];