i386 vsyscall support (vdso-provided sysenter/syscall instruction based)
[musl] / src / internal / libc.c
1 #include "libc.h"
2
3 #ifdef USE_LIBC_ACCESSOR
4 struct __libc *__libc_loc()
5 {
6         static struct __libc __libc;
7         return &__libc;
8 }
9 #else
10 struct __libc __libc;
11 #endif
12
13 #ifdef BROKEN_VISIBILITY
14 __asm__(".hidden __libc");
15 #endif
16
17 size_t __hwcap;
18 size_t __sysinfo;