xf.li | bdd93d5 | 2023-05-12 07:10:14 -0700 | [diff] [blame] | 1 | libc { |
| 2 | GLIBC_2.0 { |
| 3 | # functions with required interface outside normal name space |
| 4 | __xpg_basename; |
| 5 | |
| 6 | # functions used in inline functions or macros |
| 7 | __strto*_internal; |
| 8 | |
| 9 | # compatibility symbol |
| 10 | __secure_getenv; |
| 11 | |
| 12 | # a* |
| 13 | a64l; abort; abs; atexit; atof; atoi; atol; atoll; |
| 14 | |
| 15 | # b* |
| 16 | bsearch; |
| 17 | |
| 18 | # c* |
| 19 | canonicalize_file_name; clearenv; |
| 20 | |
| 21 | # d* |
| 22 | div; drand48; drand48_r; |
| 23 | |
| 24 | # e* |
| 25 | erand48; erand48_r; exit; |
| 26 | |
| 27 | # g* |
| 28 | getenv; getsubopt; |
| 29 | |
| 30 | # i* |
| 31 | initstate; initstate_r; |
| 32 | |
| 33 | # l* |
| 34 | l64a; labs; lcong48; lcong48_r; ldiv; llabs; lldiv; lrand48; lrand48_r; |
| 35 | |
| 36 | # m* |
| 37 | mblen; mbrlen; mbrtowc; mbsinit; mbsnrtowcs; mbsrtowcs; mbstowcs; |
| 38 | mbtowc; mcheck; mcount; mrand48; mrand48_r; |
| 39 | |
| 40 | # n* |
| 41 | nrand48; nrand48_r; |
| 42 | |
| 43 | # o* |
| 44 | on_exit; |
| 45 | |
| 46 | # p* |
| 47 | putenv; |
| 48 | |
| 49 | # q* |
| 50 | qsort; |
| 51 | |
| 52 | # r* |
| 53 | rand; rand_r; random; random_r; realpath; rpmatch; |
| 54 | |
| 55 | # s* |
| 56 | seed48; seed48_r; setcontext; setenv; setstate; setstate_r; srand; srand48; |
| 57 | srand48_r; srandom; srandom_r; step; strfmon; strtod; strtof; strtol; |
| 58 | strtold; strtoll; strtoq; strtoul; strtoull; strtouq; system; |
| 59 | |
| 60 | # u* |
| 61 | unsetenv; |
| 62 | |
| 63 | # w* |
| 64 | wcstombs; wctomb; |
| 65 | } |
| 66 | GLIBC_2.1 { |
| 67 | # a* |
| 68 | addseverity; |
| 69 | |
| 70 | # f* |
| 71 | fmtmsg; |
| 72 | |
| 73 | # g* |
| 74 | getcontext; |
| 75 | |
| 76 | # m* |
| 77 | makecontext; |
| 78 | |
| 79 | # s* |
| 80 | strtoimax; strtoumax; swapcontext; |
| 81 | } |
| 82 | GLIBC_2.1.1 { |
| 83 | # _* |
| 84 | _Exit; |
| 85 | |
| 86 | # i* |
| 87 | imaxabs; imaxdiv; |
| 88 | } |
| 89 | GLIBC_2.1.3 { |
| 90 | # used by new G++ ABI |
| 91 | __cxa_atexit; __cxa_finalize; |
| 92 | } |
| 93 | GLIBC_2.3 { |
| 94 | # Silent change in SUS. |
| 95 | realpath; |
| 96 | } |
| 97 | GLIBC_2.8 { |
| 98 | qsort_r; |
| 99 | } |
| 100 | GLIBC_2.10 { |
| 101 | quick_exit; __cxa_at_quick_exit; |
| 102 | } |
| 103 | GLIBC_2.13 { |
| 104 | __fentry__; |
| 105 | } |
| 106 | GLIBC_2.17 { |
| 107 | secure_getenv; |
| 108 | } |
| 109 | GLIBC_2.18 { |
| 110 | __cxa_thread_atexit_impl; |
| 111 | } |
| 112 | GLIBC_PRIVATE { |
| 113 | # functions which have an additional interface since they are |
| 114 | # are cancelable. |
| 115 | __libc_system; |
| 116 | # Variable which needs a dynamic symbol table entry. |
| 117 | __abort_msg; |
| 118 | # Used from other libraries |
| 119 | __libc_secure_getenv; |
| 120 | __call_tls_dtors; |
| 121 | __strtof_nan; __strtod_nan; __strtold_nan; |
| 122 | } |
| 123 | } |