remove undef weak refs to init/fini array symbols in libc.so
[musl] / src / internal / libc.c
index 942f6b4..2e10942 100644 (file)
@@ -1,18 +1,6 @@
 #include "libc.h"
 
-#ifdef USE_LIBC_ACCESSOR
-struct __libc *__libc_loc()
-{
-       static struct __libc __libc;
-       return &__libc;
-}
-#else
 struct __libc __libc;
-#endif
-
-#ifdef BROKEN_VISIBILITY
-__asm__(".hidden __libc");
-#endif
 
 size_t __hwcap;
 size_t __sysinfo;