[PATCH] arm: Prevent GCC from using VFP registers in code used during dynamic linking
Joseph Myers
josmyers@redhat.com
Tue May 12 19:20:19 GMT 2026
On Tue, 12 May 2026, Aurelien Jarno wrote:
> - glibc (or rather ld.so) is built without VFP support. In that case
> there is no need to save and restore VFP registers, as they are not
> clobbered.
All the usual reasons apply for user code possibly being run during symbol
resolution that might clobber those registers.
> Therefore I think there is just a need to test support at build time. I
> guess checking for HAVE_ARM_PCS_VFP and HAVE_ARM_PCS_VFP_D32 is enough.
Whether VFP is used at build time is separate from whether the VFP AAPCS
variant is used.
--
Joseph S. Myers
josmyers@redhat.com
More information about the Libc-alpha
mailing list