X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Flibc.c;h=d22d274708b0d084b30cd72b713df740841e62b4;hb=ccc7b4c3a17ade90de71e1e0f44deebbffd646e6;hp=954efedf8b04eee03e09d26b36563097ef2c65db;hpb=d89c9e8a63018810bb6a3e2ae55604996cc21e7b;p=musl diff --git a/src/internal/libc.c b/src/internal/libc.c index 954efedf..d22d2747 100644 --- a/src/internal/libc.c +++ b/src/internal/libc.c @@ -1,6 +1,6 @@ #include "libc.h" -#ifdef __PIC__ +#ifdef USE_LIBC_ACCESSOR struct __libc *__libc_loc() { static struct __libc __libc; @@ -9,3 +9,10 @@ struct __libc *__libc_loc() #else struct __libc __libc; #endif + +#ifdef BROKEN_VISIBILITY +__asm__(".hidden __libc"); +#endif + +size_t __hwcap; +size_t __sysinfo;