%include libc { GLIBC_2.0 { # helper functions __libc_init_first; __libc_start_main; %if !(USE_TLS && HAVE___THREAD) # global variables _errno; # variables in normal name space errno; %endif } GLIBC_2.1 { # New special glibc functions. gnu_get_libc_release; gnu_get_libc_version; } GLIBC_PRIVATE { %if USE_TLS && HAVE___THREAD # This version is for the TLS symbol, GLIBC_2.0 is the old object symbol. errno; %else # This internal alias is solely to give libpthread access # to the variable that is not directly user-visible at link time. __libc_errno; %endif } }