[PATCH] AArch64: Add support for MOPS memcpy/memmove/memset

Florian Weimer fweimer@redhat.com
Sat Oct 21 22:12:49 GMT 2023


* Szabolcs Nagy:

> i think the __GI_foo alias to foo is only needed if foo is an
> exported sym, then it can avoid a PLT when foo called internally.
>
> i think we should just drop these macros in the multiarch asm.
> (and fix things up e.g. if asm code is directly included across
> multiarch and generic code such that only generic exported syms
> get the alias)

We might want to start exporting the alternative implementation under
GLIBC_PRIVATE names, so that we can find them in the dynamic symbol
table.  Then we could have an LD_DEBUG mode that prints these function
symbols, translated from the function addresses returned from IFUNC
resolvers.  I think this would be a really useful diagnostic tool.

Thanks,
Florian



More information about the Libc-alpha mailing list