[PATCH v2 01/25] linux: mips: Split libpthread.abilist in n32 and n64
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu May 20 10:43:15 GMT 2021
On 20/05/2021 03:38, Florian Weimer wrote:
> * Adhemerval Zanella via Libc-alpha:
>
>> The n32 will require the 64 bit time symbols for y2038 support.
>> ---
>> .../mips/mips64/{ => n32}/libpthread.abilist | 0
>> .../sysv/linux/mips/mips64/n64/libpthread.abilist | 15 +++++++++++++++
>> 2 files changed, 15 insertions(+)
>> rename sysdeps/unix/sysv/linux/mips/mips64/{ => n32}/libpthread.abilist (100%)
>> create mode 100644 sysdeps/unix/sysv/linux/mips/mips64/n64/libpthread.abilist
>>
>> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n32/libpthread.abilist
>> similarity index 100%
>> rename from sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist
>> rename to sysdeps/unix/sysv/linux/mips/mips64/n32/libpthread.abilist
>> diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/libpthread.abilist b/sysdeps/unix/sysv/linux/mips/mips64/n64/libpthread.abilist
>> new file mode 100644
>> index 0000000000..a5f3d5ce2a
>> --- /dev/null
>> +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/libpthread.abilist
>> @@ -0,0 +1,15 @@
>> +GLIBC_2.0 __errno_location F
>> +GLIBC_2.0 pthread_create F
>> +GLIBC_2.11 __libpthread_version_placeholder F
>> +GLIBC_2.12 __libpthread_version_placeholder F
>> +GLIBC_2.18 __libpthread_version_placeholder F
>> +GLIBC_2.2 pthread_create F
>> +GLIBC_2.2.3 __libpthread_version_placeholder F
>> +GLIBC_2.2.6 __libpthread_version_placeholder F
>> +GLIBC_2.28 thrd_create F
>> +GLIBC_2.3.2 __libpthread_version_placeholder F
>> +GLIBC_2.3.3 __libpthread_version_placeholder F
>> +GLIBC_2.3.4 __libpthread_version_placeholder F
>> +GLIBC_2.30 __libpthread_version_placeholder F
>> +GLIBC_2.31 __libpthread_version_placeholder F
>> +GLIBC_2.4 __libpthread_version_placeholder F
>
> That looks wrong, there are no time-dependent symbols left in
> libpthread, so the split isn't needed.
>
> Thanks,
> Florian
>
Indeed this patch is not required anymore (the libpthread files are not updated
for n32 when the 64-bit time symbols).
I will remove it.
More information about the Libc-alpha
mailing list