mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
3fa5f1fa0a
* sysdeps/generic/errno.c (__libc_errno): Remove alias. * inet/herrno.c (__libc_h_errno): Likewise. * resolv/res_libc.c (__libc_res): Likewise. [USE___THREAD]: Use this in place of [USE_TLS && HAVE___THREAD]. (__res_state) [! USE___THREAD]: Don't define as weak. * csu/Versions: Revert last change. * resolv/Versions: Revert last change.
27 lines
482 B
Plaintext
27 lines
482 B
Plaintext
%include <tls.h>
|
|
|
|
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;
|
|
%endif
|
|
}
|
|
}
|