[PATCH v2] elf: Use dl-symbol-redir-ifunc.h instead _dl_strlen

Adhemerval Zanella Netto adhemerval.zanella@linaro.org
Tue Feb 17 12:52:43 GMT 2026



On 12/02/26 16:27, Adhemerval Zanella Netto wrote:
> 
> 
> On 12/02/26 15:53, Adhemerval Zanella Netto wrote:
>>
>>
>> On 12/02/26 14:27, DJ Delorie wrote:
>>>
>>
>> But I overlook s390x, where in my tests I did not add an alias because
>> gcc is optimizing strlen away by inlining it. I will add it since s390x
>> does define strlen as iFUNC even for !SHARED.
> 
> I think there is no need change it for s390x, gcc-12 (minimum support one)
> always inline strlen even for -march=z900 (arch5) [1].
> 
> So this change should be ok as-is.
> 
> [1] https://godbolt.org/z/bqPo989dG

Ping.


More information about the Libc-alpha mailing list