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/csky | |
parent | 4647ce82c733d1453611e35236b786ecd7faf598 (diff) | |
download | glibc-3fec7f18bfcb7044e813a12e19c3c98eb8387e26.tar.gz glibc-3fec7f18bfcb7044e813a12e19c3c98eb8387e26.tar.xz 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/csky')
-rw-r--r-- | sysdeps/unix/sysv/linux/csky/libc.abilist | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/csky/libpthread.abilist | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/csky/libc.abilist b/sysdeps/unix/sysv/linux/csky/libc.abilist index e24e8cb91e..311a9ec0ab 100644 --- a/sysdeps/unix/sysv/linux/csky/libc.abilist +++ b/sysdeps/unix/sysv/linux/csky/libc.abilist @@ -332,6 +332,7 @@ GLIBC_2.29 __profile_frequency F GLIBC_2.29 __progname D 0x4 GLIBC_2.29 __progname_full D 0x4 GLIBC_2.29 __pthread_cleanup_routine F +GLIBC_2.29 __pthread_once F GLIBC_2.29 __ptsname_r_chk F GLIBC_2.29 __pwrite64 F GLIBC_2.29 __rawmemchr F @@ -1442,6 +1443,7 @@ GLIBC_2.29 pthread_mutex_destroy F GLIBC_2.29 pthread_mutex_init F GLIBC_2.29 pthread_mutex_lock F GLIBC_2.29 pthread_mutex_unlock F +GLIBC_2.29 pthread_once F GLIBC_2.29 pthread_self F GLIBC_2.29 pthread_setcancelstate F GLIBC_2.29 pthread_setcanceltype F @@ -2125,5 +2127,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/csky/libpthread.abilist b/sysdeps/unix/sysv/linux/csky/libpthread.abilist index 6f519a21a9..00b134fdc0 100644 --- a/sysdeps/unix/sysv/linux/csky/libpthread.abilist +++ b/sysdeps/unix/sysv/linux/csky/libpthread.abilist @@ -13,7 +13,6 @@ GLIBC_2.29 __pthread_mutex_unlock F GLIBC_2.29 __pthread_mutexattr_destroy F GLIBC_2.29 __pthread_mutexattr_init F GLIBC_2.29 __pthread_mutexattr_settype F -GLIBC_2.29 __pthread_once F GLIBC_2.29 __pthread_register_cancel F GLIBC_2.29 __pthread_register_cancel_defer F GLIBC_2.29 __pthread_rwlock_destroy F @@ -105,7 +104,6 @@ GLIBC_2.29 pthread_mutexattr_setpshared F GLIBC_2.29 pthread_mutexattr_setrobust F GLIBC_2.29 pthread_mutexattr_setrobust_np F GLIBC_2.29 pthread_mutexattr_settype F -GLIBC_2.29 pthread_once F GLIBC_2.29 pthread_rwlock_destroy F GLIBC_2.29 pthread_rwlock_init F GLIBC_2.29 pthread_rwlock_rdlock F |