diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-04-21 19:49:50 +0200 |
commit | 3fec7f18bfcb7044e813a12e19c3c98eb8387e26 (patch) | |
tree | 63320bd00d52f0437c4f8676fbff561311dfdb8f /sysdeps/unix/sysv/linux/nios2 | |
parent | 4647ce82c733d1453611e35236b786ecd7faf598 (diff) | |
download | glibc-3fec7f18bfcb7044e813a12e19c3c98eb8387e26.tar glibc-3fec7f18bfcb7044e813a12e19c3c98eb8387e26.tar.gz glibc-3fec7f18bfcb7044e813a12e19c3c98eb8387e26.tar.bz2 glibc-3fec7f18bfcb7044e813a12e19c3c98eb8387e26.zip |
nptl: Move pthread_once and __pthread_once into libc
And also the fork generation counter, __fork_generation. This
eliminates the need for __fork_generation_pointer.
call_once remains in libpthread and calls the exported __pthread_once
symbol.
pthread_once and __pthread_once have been moved using
scripts/move-symbol-to-libc.py.
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux/nios2')
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/libc.abilist | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/nios2/libpthread.abilist | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/nios2/libc.abilist b/sysdeps/unix/sysv/linux/nios2/libc.abilist index 665472df33..c2e1f8ad71 100644 --- a/sysdeps/unix/sysv/linux/nios2/libc.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libc.abilist @@ -377,6 +377,7 @@ GLIBC_2.21 __profile_frequency F GLIBC_2.21 __progname D 0x4 GLIBC_2.21 __progname_full D 0x4 GLIBC_2.21 __pthread_cleanup_routine F +GLIBC_2.21 __pthread_once F GLIBC_2.21 __ptsname_r_chk F GLIBC_2.21 __pwrite64 F GLIBC_2.21 __rawmemchr F @@ -1500,6 +1501,7 @@ GLIBC_2.21 pthread_mutex_destroy F GLIBC_2.21 pthread_mutex_init F GLIBC_2.21 pthread_mutex_lock F GLIBC_2.21 pthread_mutex_unlock F +GLIBC_2.21 pthread_once F GLIBC_2.21 pthread_self F GLIBC_2.21 pthread_setcancelstate F GLIBC_2.21 pthread_setcanceltype F @@ -2215,5 +2217,7 @@ GLIBC_2.33 stat F GLIBC_2.33 stat64 F GLIBC_2.34 __libc_start_main F GLIBC_2.34 __pthread_cleanup_routine F +GLIBC_2.34 __pthread_once F GLIBC_2.34 pthread_kill F GLIBC_2.34 pthread_mutex_consistent F +GLIBC_2.34 pthread_once F diff --git a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist index c29e86eb94..7e98fb0c37 100644 --- a/sysdeps/unix/sysv/linux/nios2/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/nios2/libpthread.abilist @@ -13,7 +13,6 @@ GLIBC_2.21 __pthread_mutex_unlock F GLIBC_2.21 __pthread_mutexattr_destroy F GLIBC_2.21 __pthread_mutexattr_init F GLIBC_2.21 __pthread_mutexattr_settype F -GLIBC_2.21 __pthread_once F GLIBC_2.21 __pthread_register_cancel F GLIBC_2.21 __pthread_register_cancel_defer F GLIBC_2.21 __pthread_rwlock_destroy F @@ -92,7 +91,6 @@ GLIBC_2.21 pthread_mutexattr_setpshared F GLIBC_2.21 pthread_mutexattr_setrobust F GLIBC_2.21 pthread_mutexattr_setrobust_np F GLIBC_2.21 pthread_mutexattr_settype F -GLIBC_2.21 pthread_once F GLIBC_2.21 pthread_rwlock_destroy F GLIBC_2.21 pthread_rwlock_init F GLIBC_2.21 pthread_rwlock_rdlock F |