about summary refs log tree commit diff
path: root/csu/Versions
blob: bd82a96149306785c6950eef6a3219b88680e662 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
%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;
%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
  }
}