2002-09-25 01:58:37 +00:00
|
|
|
%include <tls.h>
|
|
|
|
|
|
1998-07-02 22:51:40 +00:00
|
|
|
libc {
|
|
|
|
|
GLIBC_2.0 {
|
|
|
|
|
# helper functions
|
1998-07-10 20:45:28 +00:00
|
|
|
__libc_init_first; __libc_start_main;
|
1998-07-02 22:51:40 +00:00
|
|
|
|
2002-09-25 01:58:37 +00:00
|
|
|
%if !(USE_TLS && HAVE___THREAD)
|
|
|
|
|
# global variables
|
|
|
|
|
_errno;
|
|
|
|
|
|
1998-07-02 22:51:40 +00:00
|
|
|
# variables in normal name space
|
1998-07-10 20:45:28 +00:00
|
|
|
errno;
|
2002-09-25 01:58:37 +00:00
|
|
|
%endif
|
1998-07-02 22:51:40 +00:00
|
|
|
}
|
|
|
|
|
GLIBC_2.1 {
|
|
|
|
|
# New special glibc functions.
|
|
|
|
|
gnu_get_libc_release; gnu_get_libc_version;
|
|
|
|
|
}
|
2002-11-14 21:23:12 +00:00
|
|
|
GLIBC_PRIVATE {
|
2002-09-25 01:58:37 +00:00
|
|
|
%if USE_TLS && HAVE___THREAD
|
|
|
|
|
# This version is for the TLS symbol, GLIBC_2.0 is the old object symbol.
|
|
|
|
|
errno;
|
|
|
|
|
%endif
|
|
|
|
|
}
|
1998-07-02 22:51:40 +00:00
|
|
|
}
|