X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Flibc.c;h=c1e21ca021a45ebe7f2736a4cba13d75e0c1613d;hb=fcaec912ed406659832f452e71a6c965308362dd;hp=5f12e29588cf1cccba4f8e967c7fe7927b14e3c3;hpb=7fa29920ed19407bf1c3762f14dab9291548e976;p=musl diff --git a/src/internal/libc.c b/src/internal/libc.c index 5f12e295..c1e21ca0 100644 --- a/src/internal/libc.c +++ b/src/internal/libc.c @@ -9,3 +9,7 @@ struct __libc *__libc_loc() #else struct __libc __libc; #endif + +#ifdef BROKEN_VISIBILITY +__asm__(".hidden __libc"); +#endif