[PATCH] elf: Fix tst-gnu2-tls2 on some environments

Florian Weimer fweimer@redhat.com
Mon Jan 19 14:22:03 GMT 2026


* Adhemerval Zanella:

> On armv7a vfpv4 tst-gnu2-tls2 fails with:
>
>   open tst-gnu2-tls2mod0.so
>   open tst-gnu2-tls2mod1.so
>   open tst-gnu2-tls2mod2.so
>   close tst-gnu2-tls2mod0.so
>   close tst-gnu2-tls2mod1.so
>   open tst-gnu2-tls2mod0.so
>   open tst-gnu2-tls2mod1.so
>   Didn't expect signal from child: got `Aborted'
>
> Because AFTER_TLSDESC_CALL might clobber caller-saved registers and
> the zero array might call the memset function resolution, which itself
> might clobber some vector registers.

Isn't AFTER_TLSDESC_CALL a noop on 32-bit Arm?

Thanks,
Florian



More information about the Libc-alpha mailing list