[PATCH v2] elf: Use dl-symbol-redir-ifunc.h instead _dl_strlen
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Thu Feb 12 19:27:43 GMT 2026
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
More information about the Libc-alpha
mailing list