1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifdef SHARED #include <stddef.h> #include "libc.h" __attribute__((__visibility__("hidden"))) ptrdiff_t __tlsdesc_static(), __tlsdesc_dynamic(); ptrdiff_t __tlsdesc_static() { return 0; } weak_alias(__tlsdesc_static, __tlsdesc_dynamic); #endif