This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Arm's SVE PCS and LD_AUDIT support?
- From: Carlos O'Donell <carlos at redhat dot com>
- To: Szabolcs Nagy <szabolcs dot nagy at arm dot com>, libc-alpha <libc-alpha at sourceware dot org>
- Date: Fri, 31 Jan 2020 22:37:11 -0500
- Subject: Arm's SVE PCS and LD_AUDIT support?
Szabolcs,
One of the things I want to refactor is to move some of the LD_AUDIT
support up a level inside the dynamic loader and have it depend
less on the lazy-binding semantics.
I want only la_pltenter() and la_pltexit() to be affected by the
binding semantics, but today because lazy was the default, we aren't
there yet.
Florian and I were wondering if we couldn't implement the following:
- Leave PLT in place for SVE PCS but unused.
- Enable full save-restore in plt enter/exit conservatively for
STO_AARCH64_VARIANT_PCS if LD_AUDIT is in use, possibly routing
those symbols to a different _dl_profile_fixup_full_save?
Would that work?
--
Cheers,
Carlos.