glibc/nptl/Versions
Florian Weimer 575295fc83 nptl: Move call_once into libc
The symbol was moved using scripts/move-symbol-to-libc.py.

This change also turns __pthread_once into a compatibility symbol
because after the call_once move, an internal call to __pthread_once
can be used.  This an adjustment to __libc_once: Outside libc (e.g.,
in nscd), it has to call pthread_once.  With __pthread_once as a
compatibility symbol, it is no longer to add a new GLIBC_2.34
version after the move from libpthread, and this commit removes
the new __pthread_once@@GLIBC_2.34 version.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
2021-05-03 08:14:01 +02:00

424 lines
9.5 KiB
Plaintext

libc {
GLIBC_2.0 {
__pthread_getspecific;
__pthread_key_create;
__pthread_mutex_destroy;
__pthread_mutex_init;
__pthread_mutex_lock;
__pthread_mutex_trylock;
__pthread_mutex_unlock;
__pthread_mutexattr_destroy;
__pthread_mutexattr_init;
__pthread_mutexattr_settype;
__pthread_once;
__pthread_setspecific;
_pthread_cleanup_pop;
_pthread_cleanup_pop_restore;
_pthread_cleanup_push;
_pthread_cleanup_push_defer;
pthread_atfork;
pthread_attr_destroy;
pthread_attr_getdetachstate;
pthread_attr_getinheritsched;
pthread_attr_getschedparam;
pthread_attr_getschedpolicy;
pthread_attr_getscope;
pthread_attr_init;
pthread_attr_setdetachstate;
pthread_attr_setinheritsched;
pthread_attr_setschedparam;
pthread_attr_setschedpolicy;
pthread_attr_setscope;
pthread_cond_broadcast;
pthread_cond_destroy;
pthread_cond_init;
pthread_cond_signal;
pthread_cond_timedwait;
pthread_cond_wait;
pthread_condattr_destroy;
pthread_condattr_init;
pthread_equal;
pthread_exit;
pthread_getschedparam;
pthread_getspecific;
pthread_key_create;
pthread_key_delete;
pthread_kill;
pthread_kill_other_threads_np;
pthread_mutex_destroy;
pthread_mutex_init;
pthread_mutex_lock;
pthread_mutex_trylock;
pthread_mutex_unlock;
pthread_mutexattr_destroy;
pthread_mutexattr_getkind_np;
pthread_mutexattr_init;
pthread_mutexattr_setkind_np;
pthread_once;
pthread_self;
pthread_setcancelstate;
pthread_setcanceltype;
pthread_setschedparam;
pthread_setspecific;
pthread_sigmask;
}
GLIBC_2.1 {
pthread_attr_init;
pthread_mutexattr_gettype;
pthread_mutexattr_settype;
pthread_rwlock_rdlock;
pthread_rwlock_unlock;
pthread_rwlock_wrlock;
}
GLIBC_2.2 {
__pthread_rwlock_rdlock;
__pthread_rwlock_unlock;
__pthread_rwlock_wrlock;
pthread_condattr_getpshared;
pthread_condattr_setpshared;
pthread_mutex_timedlock;
pthread_mutexattr_getpshared;
pthread_mutexattr_setpshared;
pthread_spin_destroy;
pthread_spin_init;
pthread_spin_lock;
pthread_spin_trylock;
pthread_spin_unlock;
}
GLIBC_2.2.3 {
pthread_getattr_np;
}
GLIBC_2.3.2 {
__register_atfork;
pthread_cond_broadcast;
pthread_cond_destroy;
pthread_cond_init;
pthread_cond_signal;
pthread_cond_timedwait;
pthread_cond_wait;
}
GLIBC_2.3.3 {
__pthread_cleanup_routine;
__pthread_unwind_next;
pthread_attr_setaffinity_np;
pthread_condattr_getclock;
pthread_condattr_setclock;
pthread_getaffinity_np;
}
GLIBC_2.3.4 {
pthread_attr_setaffinity_np;
}
GLIBC_2.4 {
pthread_mutex_consistent_np;
pthread_mutex_getprioceiling;
pthread_mutex_setprioceiling;
pthread_mutexattr_getprioceiling;
pthread_mutexattr_getprotocol;
pthread_mutexattr_getrobust_np;
pthread_mutexattr_setprioceiling;
pthread_mutexattr_setprotocol;
pthread_mutexattr_setrobust_np;
}
GLIBC_2.12 {
pthread_mutex_consistent;
pthread_mutexattr_getrobust;
pthread_mutexattr_setrobust;
}
# C11 thread symbols.
GLIBC_2.28 {
call_once;
thrd_current;
thrd_equal;
thrd_sleep;
thrd_yield;
}
GLIBC_2.30 {
pthread_cond_clockwait;
pthread_mutex_clocklock;
}
GLIBC_2.32 {
pthread_attr_getsigmask_np;
pthread_attr_setaffinity_np;
pthread_attr_setsigmask_np;
pthread_getaffinity_np;
pthread_getattr_np;
pthread_sigmask;
}
GLIBC_2.34 {
__pthread_cleanup_routine;
__pthread_getspecific;
__pthread_key_create;
__pthread_mutex_destroy;
__pthread_mutex_init;
__pthread_mutex_lock;
__pthread_mutex_unlock;
__pthread_mutexattr_init;
__pthread_mutexattr_settype;
__pthread_setspecific;
call_once;
pthread_cond_clockwait;
pthread_condattr_getclock;
pthread_condattr_getpshared;
pthread_condattr_setclock;
pthread_condattr_setpshared;
pthread_getspecific;
pthread_key_create;
pthread_key_delete;
pthread_kill;
pthread_mutex_clocklock;
pthread_mutex_consistent;
pthread_mutex_getprioceiling;
pthread_mutex_setprioceiling;
pthread_mutexattr_destroy;
pthread_mutexattr_getprioceiling;
pthread_mutexattr_getprotocol;
pthread_mutexattr_getrobust;
pthread_mutexattr_gettype;
pthread_mutexattr_init;
pthread_mutexattr_setprioceiling;
pthread_mutexattr_setprotocol;
pthread_mutexattr_setpshared;
pthread_mutexattr_setrobust;
pthread_mutexattr_settype;
pthread_once;
pthread_rwlock_rdlock;
pthread_rwlock_unlock;
pthread_rwlock_wrlock;
pthread_setspecific;
pthread_spin_destroy;
pthread_spin_init;
pthread_spin_lock;
pthread_spin_trylock;
pthread_spin_unlock;
}
GLIBC_PRIVATE {
__futex_abstimed_wait64;
__futex_abstimed_wait_cancelable64;
__init_sched_fifo_prio;
__libc_alloca_cutoff;
__libc_cleanup_pop_restore;
__libc_cleanup_push_defer;
__libc_dl_error_tsd;
__libc_pthread_init;
__lll_clocklock_elision;
__lll_lock_elision;
__lll_lock_wait;
__lll_lock_wait_private;
__lll_trylock_elision;
__lll_unlock_elision;
__mutex_aconf;
__nptl_deallocate_tsd;
__nptl_nthreads;
__nptl_setxid_sighandler;
__pthread_attr_copy;
__pthread_attr_destroy;
__pthread_attr_init;
__pthread_attr_setaffinity_np;
__pthread_attr_setsigmask_internal;
__pthread_cleanup_pop;
__pthread_cleanup_push;
__pthread_cleanup_upto;
__pthread_cond_broadcast; # Used by the C11 threads.
__pthread_cond_destroy; # Used by the C11 threads.
__pthread_cond_init; # Used by the C11 threads.
__pthread_cond_signal; # Used by the C11 threads.
__pthread_cond_timedwait; # Used by the C11 threads.
__pthread_cond_wait; # Used by the C11 threads.
__pthread_current_priority;
__pthread_exit;
__pthread_force_elision;
__pthread_getattr_default_np;
__pthread_key_delete;
__pthread_keys;
__pthread_mutex_timedlock;
__pthread_mutex_unlock_usercnt;
__pthread_setcancelstate;
__pthread_tpp_change_priority;
__pthread_unwind;
__sched_fifo_max_prio;
__sched_fifo_min_prio;
}
}
libpthread {
GLIBC_2.0 {
_Exit;
_IO_flockfile;
_IO_ftrylockfile;
_IO_funlockfile;
__errno_location;
_exit;
flockfile;
ftrylockfile;
funlockfile;
pthread_cancel;
pthread_create;
pthread_detach;
pthread_join;
pthread_sigmask;
pthread_testcancel;
sem_destroy;
sem_getvalue;
sem_init;
sem_post;
sem_trywait;
sem_wait;
}
GLIBC_2.1 {
pthread_attr_getguardsize;
pthread_attr_getstackaddr;
pthread_attr_getstacksize;
pthread_attr_setguardsize;
pthread_attr_setstackaddr;
pthread_attr_setstacksize;
pthread_create;
pthread_getconcurrency;
pthread_rwlock_destroy;
pthread_rwlock_init;
pthread_rwlock_tryrdlock;
pthread_rwlock_trywrlock;
pthread_rwlockattr_destroy;
pthread_rwlockattr_getkind_np;
pthread_rwlockattr_getpshared;
pthread_rwlockattr_init;
pthread_rwlockattr_setkind_np;
pthread_rwlockattr_setpshared;
pthread_setconcurrency;
sem_destroy;
sem_getvalue;
sem_init;
sem_post;
sem_trywait;
sem_wait;
}
GLIBC_2.1.1 {
sem_close;
sem_open;
sem_unlink;
}
GLIBC_2.1.2 {
__libpthread_version_placeholder;
}
GLIBC_2.2 {
__pthread_rwlock_destroy;
__pthread_rwlock_init;
__pthread_rwlock_tryrdlock;
__pthread_rwlock_trywrlock;
pthread_attr_getstack;
pthread_attr_setstack;
pthread_barrier_destroy;
pthread_barrier_init;
pthread_barrier_wait;
pthread_barrierattr_destroy;
pthread_barrierattr_init;
pthread_barrierattr_setpshared;
pthread_getcpuclockid;
pthread_rwlock_timedrdlock;
pthread_rwlock_timedwrlock;
pthread_yield;
sem_timedwait;
}
GLIBC_2.2.3 {
__libpthread_version_placeholder;
}
GLIBC_2.2.6 {
__libpthread_version_placeholder;
}
GLIBC_2.3.2 {
__libpthread_version_placeholder;
}
GLIBC_2.3.3 {
__pthread_register_cancel;
__pthread_register_cancel_defer;
__pthread_unregister_cancel;
__pthread_unregister_cancel_restore;
pthread_attr_getaffinity_np;
pthread_barrierattr_getpshared;
pthread_setaffinity_np;
pthread_timedjoin_np;
pthread_tryjoin_np;
}
GLIBC_2.3.4 {
pthread_attr_getaffinity_np;
pthread_getaffinity_np;
pthread_setaffinity_np;
pthread_setschedprio;
}
GLIBC_2.4 {
__libpthread_version_placeholder;
};
GLIBC_2.11 {
pthread_sigqueue;
};
GLIBC_2.12 {
pthread_getname_np;
pthread_setname_np;
};
GLIBC_2.18 {
pthread_getattr_default_np;
pthread_setattr_default_np;
}
# C11 thread symbols.
GLIBC_2.28 {
cnd_broadcast;
cnd_destroy;
cnd_init;
cnd_signal;
cnd_timedwait;
cnd_wait;
mtx_destroy;
mtx_init;
mtx_lock;
mtx_timedlock;
mtx_trylock;
mtx_unlock;
thrd_create;
thrd_detach;
thrd_exit;
thrd_join;
tss_create;
tss_delete;
tss_get;
tss_set;
}
GLIBC_2.30 {
pthread_rwlock_clockrdlock;
pthread_rwlock_clockwrlock;
sem_clockwait;
}
GLIBC_2.31 {
pthread_clockjoin_np;
}
GLIBC_PRIVATE {
__libpthread_freeres;
__pthread_barrier_init;
__pthread_barrier_wait;
__pthread_clock_gettime;
__pthread_clock_settime;
__pthread_get_minstack;
__pthread_initialize_minimal;
}
}
ld {
GLIBC_PRIVATE {
__nptl_set_robust_list_avail;
}
}