This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] nptl: Move pthread_equal implementation into libc
* Adhemerval Zanella:
>> diff --git a/nptl/Makefile b/nptl/Makefile
>> index 0567e77a79..e66b115562 100644
>> --- a/nptl/Makefile
>> +++ b/nptl/Makefile
>> @@ -30,7 +30,7 @@ extra-libs-others := $(extra-libs)
>> routines = alloca_cutoff forward libc-lowlevellock libc-cancellation \
>> libc-cleanup libc_pthread_init libc_multiple_threads \
>> register-atfork pthread_atfork pthread_self thrd_current \
>> - thrd_equal thrd_sleep thrd_yield
>> + thrd_equal thrd_sleep thrd_yield pthread_equal
>> shared-only-routines = forward
>> static-only-routines = pthread_atfork
>>
>
> Ok. Can we also move compat-pthread_self to libc?
Yes, the compat symbol is no longer needed, now that the loader no
longer requires matching sonames. I had forgotten about that; I will
prepare a patch as well.
I suppose it's better to send many small patches for these cleanups,
rather than one large patch.
Thanks,
Florian