make _dlstart_c function use hidden visibility

otherwise the call/jump from the crt_arch.h asm may not resolve
correctly without -Bsymbolic-functions.
This commit is contained in:
Rich Felker 2015-04-14 00:28:30 -04:00
parent f4f9562cc9
commit f1faa0e12f

View File

@ -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];