From f1faa0e12fd68379420b07ebf2eba43a5be1f2d3 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 14 Apr 2015 00:28:30 -0400 Subject: [PATCH] make _dlstart_c function use hidden visibility otherwise the call/jump from the crt_arch.h asm may not resolve correctly without -Bsymbolic-functions. --- src/ldso/dlstart.c | 1 + 1 file changed, 1 insertion(+) 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]; -- 2.25.1