This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Aarch64: Add simd exp/expf functions
* Szabolcs Nagy:
> however not following the new ELF abi in libmvec.so itself should
> be fine: the new ELF symbol marking is needed in the module that
> has R_*_JUMP_SLOT relocations for vector symbols, i.e. on the
> caller side. testing libmvec in glibc still works by luck since
> lazy binding does not clobber problematic fp regs, and there are
> no ifunc resolvers for vector math functions that use fp regs
> either (the test binaries won't be abi conform though because
> of the missing symbol marking).
But the dynamic section of libmvec won't have the ABI-mandated markup,
right? Based on the draft, I assume that it's sufficient if the markup
is present on either side to trigger the special processing. It's
unclear if it's the compiler's job to set the flag for the libmvec
routines, or if it can rely on the link editor divining it (from the
DSO, which it needs anyway for the symbol version) and trigger the
required processing for the symbols concerned.
Thanks,
Florian