diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:10:57 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-05-03 09:17:36 +0200 |
commit | 504ac633b0213b917a17a4aa98766154a1141925 (patch) | |
tree | c4934ce48a1b7786f603718c76885fdc036ec1cd /nptl/Versions | |
parent | 2cf5b43bcb392af5f056250560d5711b8ba802c4 (diff) | |
download | glibc-504ac633b0213b917a17a4aa98766154a1141925.tar.gz glibc-504ac633b0213b917a17a4aa98766154a1141925.tar.xz glibc-504ac633b0213b917a17a4aa98766154a1141925.zip |
nptl: Move pthread_rwlock_destroy into libc
And __pthread_rwlock_destroy as a compatibility symbol. rwlocks do not need finalization, so change __libc_rwlock_fini to do nothing. The symbols were moved using scripts/move-symbol-to-libc.py. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/Versions')
-rw-r--r-- | nptl/Versions | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/nptl/Versions b/nptl/Versions index d743866e57..65e94def6f 100644 --- a/nptl/Versions +++ b/nptl/Versions @@ -66,11 +66,13 @@ libc { pthread_attr_init; pthread_mutexattr_gettype; pthread_mutexattr_settype; + pthread_rwlock_destroy; pthread_rwlock_rdlock; pthread_rwlock_unlock; pthread_rwlock_wrlock; } GLIBC_2.2 { + __pthread_rwlock_destroy; __pthread_rwlock_rdlock; __pthread_rwlock_unlock; __pthread_rwlock_wrlock; @@ -208,6 +210,7 @@ libc { pthread_once; pthread_rwlock_clockrdlock; pthread_rwlock_clockwrlock; + pthread_rwlock_destroy; pthread_rwlock_rdlock; pthread_rwlock_unlock; pthread_rwlock_wrlock; @@ -297,7 +300,6 @@ libpthread { pthread_attr_setstacksize; pthread_create; pthread_getconcurrency; - pthread_rwlock_destroy; pthread_rwlock_init; pthread_rwlock_tryrdlock; pthread_rwlock_trywrlock; @@ -327,7 +329,6 @@ libpthread { } GLIBC_2.2 { - __pthread_rwlock_destroy; __pthread_rwlock_init; __pthread_rwlock_tryrdlock; __pthread_rwlock_trywrlock; |