
1: %include <tls.h> 2: 3: libc { 4: GLIBC_2.0 { 5: # helper functions 6: __libc_init_first; __libc_start_main; 7: 8: %if !HAVE___THREAD 9: # global variables 10: _errno; 11: 12: # variables in normal name space 13: errno; 14: %endif 15: } 16: GLIBC_2.1 { 17: # New special glibc functions. 18: gnu_get_libc_release; gnu_get_libc_version; 19: } 20: GLIBC_PRIVATE { 21: %if HAVE___THREAD 22: # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol. 23: errno; 24: %endif 25: } 26: }