[PATCH 1/3] crypto: X25519 low-level primitives for ppc64le.
Andy Polyakov
appro at cryptogams.org
Thu May 16 18:38:43 AEST 2024
Hi,
>> +.abiversion 2
>
> I'd prefer that was left to the compiler flags.
Problem is that it's the compiler that is responsible for providing this
directive in the intermediate .s prior invoking the assembler. And there
is no assembler flag to pass through -Wa. If concern is ABI neutrality,
then solution would rather be #if (_CALL_ELF-0) == 2/#endif. One can
also make a case for
#ifdef _CALL_ELF
.abiversion _CALL_ELF
#endif
Cheers.
More information about the Linuxppc-dev
mailing list