i386 vsyscall support (vdso-provided sysenter/syscall instruction based)
[musl] / src / internal / libc.c
index 59d302d..d22d274 100644 (file)
@@ -7,5 +7,12 @@ 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;