1%include <float128-abi.h>
2libc {
3  GLIBC_2.0 {
4    # functions with required interface outside normal name space
5    __xpg_basename;
6
7    # functions used in inline functions or macros
8    __strtod_internal; __strtof_internal; __strtold_internal;
9    __strtol_internal; __strtoll_internal;
10    __strtoul_internal; __strtoull_internal;
11    # functions formerly so used (compatibility symbols)
12    __strtoq_internal; __strtouq_internal;
13
14    # compatibility symbol
15    __secure_getenv;
16
17    # a*
18    a64l; abort; abs; atexit; atof; atoi; atol; atoll;
19
20    # b*
21    bsearch;
22
23    # c*
24    canonicalize_file_name; clearenv;
25
26    # d*
27    div; drand48; drand48_r;
28
29    # e*
30    erand48; erand48_r; exit;
31
32    # g*
33    getenv; getsubopt;
34
35    # i*
36    initstate; initstate_r;
37
38    # l*
39    l64a; labs; lcong48; lcong48_r; ldiv; llabs; lldiv; lrand48; lrand48_r;
40
41    # m*
42    mblen; mbrlen; mbrtowc; mbsinit; mbsnrtowcs; mbsrtowcs; mbstowcs;
43    mbtowc; mcount; mrand48; mrand48_r;
44
45    # n*
46    nrand48; nrand48_r;
47
48    # o*
49    on_exit;
50
51    # p*
52    putenv;
53
54    # q*
55    qsort;
56
57    # r*
58    rand; rand_r; random; random_r; realpath; rpmatch;
59
60    # s*
61    seed48; seed48_r; setcontext; setenv; setstate; setstate_r; srand; srand48;
62    srand48_r; srandom; srandom_r; step; strfmon; strtod; strtof; strtol;
63    strtold; strtoll; strtoq; strtoul; strtoull; strtouq; system;
64
65    # u*
66    unsetenv;
67
68    # w*
69    wcstombs; wctomb;
70  }
71  GLIBC_2.1 {
72    # a*
73    addseverity;
74
75    # f*
76    fmtmsg;
77
78    # g*
79    getcontext;
80
81    # m*
82    makecontext;
83
84    # s*
85    strtoimax; strtoumax; swapcontext;
86  }
87  GLIBC_2.1.1 {
88    # _*
89    _Exit;
90
91    # i*
92    imaxabs; imaxdiv;
93  }
94  GLIBC_2.1.3 {
95    # used by new G++ ABI
96    __cxa_atexit; __cxa_finalize;
97  }
98  GLIBC_2.3 {
99    # Silent change in SUS.
100    realpath;
101  }
102  GLIBC_2.8 {
103    qsort_r;
104  }
105  GLIBC_2.10 {
106    quick_exit; __cxa_at_quick_exit;
107  }
108  GLIBC_2.17 {
109    secure_getenv;
110  }
111  GLIBC_2.18 {
112    __cxa_thread_atexit_impl;
113  }
114  GLIBC_2.24 {
115    quick_exit;
116  }
117  GLIBC_2.25 {
118    # s*
119    strfromd; strfromf; strfroml;
120    getrandom; getentropy;
121  }
122%ifdef FLOAT128_VERSION
123  FLOAT128_VERSION {
124    strfromf128;
125    strtof128;
126    strtof128_l;
127  }
128%endif
129  GLIBC_2.27 {
130    # _Float64x functions, only present for some configurations.
131    strfromf64x;
132    strtof64x;
133    strtof64x_l;
134    # _Float32, _Float64 and _Float32x functions, for all configurations.
135    strfromf32; strfromf64; strfromf32x;
136    strtof32; strtof64; strtof32x;
137    strtof32_l; strtof64_l; strtof32x_l;
138  }
139  GLIBC_2.36 {
140    arc4random;
141    arc4random_buf;
142    arc4random_uniform;
143  }
144  GLIBC_PRIVATE {
145    # functions which have an additional interface since they are
146    # are cancelable.
147    __libc_system;
148    # Variable which needs a dynamic symbol table entry.
149    __abort_msg;
150    # Used from other libraries
151    __libc_secure_getenv;
152    __call_tls_dtors;
153    __strtof_nan; __strtod_nan; __strtold_nan;
154  }
155}
156