X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Finternal%2Flibc.c;h=942f6b44843684631a6a906e8cfc06ebea09704e;hp=59d302d47fee716a592b8543ecbf27851aa17395;hb=HEAD;hpb=bae2e52bfd676c447862b9baec535db401aab075 diff --git a/src/internal/libc.c b/src/internal/libc.c index 59d302d4..942f6b44 100644 --- a/src/internal/libc.c +++ b/src/internal/libc.c @@ -7,5 +7,16 @@ struct __libc *__libc_loc() return &__libc; } #else -struct __libc __libc ATTR_LIBC_VISIBILITY; +struct __libc __libc; #endif + +#ifdef BROKEN_VISIBILITY +__asm__(".hidden __libc"); +#endif + +size_t __hwcap; +size_t __sysinfo; +char *__progname=0, *__progname_full=0; + +weak_alias(__progname, program_invocation_short_name); +weak_alias(__progname_full, program_invocation_name);