mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
160bb40945
(libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _errno, errno. (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put errno here instead. * resolv/Versions: Use %include <tls.h> to get USE_TLS defined. (libc: GLIBC_2.0) [USE_TLS && HAVE___THREAD]: Remove _h_errno, h_errno, and _res. (libc: GLIBC_2.3) [USE_TLS && HAVE___THREAD]: Put h_errno, _res here. * elf/tls-macros.h [__x86_64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): New macros for x86-64. * sysdeps/unix/sysv/linux/alpha/bits/time.h: File removed. It was indentical to the linux/bits/time.h file. * nscd/nscd_gethst_r.c (nscd_gethst_r): Add a cast to silence warning. * resolv/gethnamaddr.c (gethostbyaddr): Use socklen_t for SIZE.
27 lines
478 B
Plaintext
27 lines
478 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_2.3 {
|
|
%if USE_TLS && HAVE___THREAD
|
|
# This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
|
|
errno;
|
|
%endif
|
|
}
|
|
}
|