[PATCH v3 28/37] nptl: Move rwlock functions with forwarders into libc
Florian Weimer
fweimer@redhat.com
Sat Mar 27 21:41:18 GMT 2021
* Adhemerval Zanella:
> On 16/03/2021 14:31, Florian Weimer via Libc-alpha wrote:
>> The forwarders were only used internally, so new symbol versions
>> are needed. All symbols are moved at once because the forwarders
>> are no-ops if libpthread is not loaded, leading to inconsistencies
>> in case of a partial migration.
>>
>> The symbols __pthread_rwlock_rdlock, __pthread_rwlock_unlock,
>> __pthread_rwlock_wrlock, pthread_rwlock_rdlock,
>> pthread_rwlock_unlock, pthread_rwlock_wrlock have been moved using
>> scripts/move-symbol-to-libc.py.
>
> LGTM, thanks (you probably want to rebase to use the compat_symbol
> multiple reference support).
I don't think we need the __pthread_rwlock_* exports anymore, so I have
turned them into compat symbols in a revision of the patch. (There are
no C11 rwlock functions.) This avoids the need for the GLIBC_2.34
symbol versions.
Thanks,
Florian
More information about the Libc-alpha
mailing list