[PATCH] Fix runtime linker auditing on aarch64

Szabolcs Nagy szabolcs.nagy@arm.com
Wed Sep 23 12:48:49 GMT 2020


The 09/23/2020 14:22, Florian Weimer via Libc-alpha wrote:
> * Ben Woodard via Libc-alpha:
> 
> > To fix this
> >   * The La_aarch64_regs structure was expanded to include x8 and the full
> >     sized NEON V registers that are required to be preserved by the ABI.
> 
> Off-list, you said that the audit interface was completely broken on
> AArch64.  But it seems to be working enough for sotruss.  So I do wonder
> if we have to do a proper ABI transition here after all (bumping
> LAV_CURRENT and all the consequences of that).

i think plt hooks currently don't work for functions
that take neon vector arguments because the save/restore
logic clobbers the top bits (but such extern calls are
not common since they need to use non-portable types)

but i agree if it's not too intrusive to bump the audit
abi then we should do so and then the incompatibility
can be detected at least.


More information about the Libc-alpha mailing list