[PATCH v2] powerpc/64: BE option to use ELFv2 ABI for big endian kernels

Segher Boessenkool segher at kernel.crashing.org
Mon May 3 03:55:06 AEST 2021


On Wed, Apr 29, 2020 at 10:57:16AM +1000, Nicholas Piggin wrote:
> Excerpts from Segher Boessenkool's message of April 29, 2020 9:40 am:
> I blame toolchain for -mabi=elfv2 ! And also some blame on ABI document 
> which is called ELF V2 ABI rather than ELF ABI V2 which would have been 
> unambiguous.

At least ELFv2 ABI is correct.  "ELF ABI v2" is not.

> I can go through and change all my stuff and config options to ELF_ABI_v2.

Please don't.  It is wrong.  Both the original PowerPC ELF ABI and the
ELFv2 one have versions themselves.  Also, the base ELF standard has a
version, and is set up so there can be incompatible versions even!  Of
course it still is version 1 to this day, but :-)


Segher


More information about the Linuxppc-dev mailing list