[RFC][PATCH] powerpc/64be: use ELFv2 ABI for big endian kernels

Nicholas Piggin npiggin at gmail.com
Thu Nov 24 15:42:17 AEDT 2016


On Wed, 23 Nov 2016 08:38:34 -0600
Segher Boessenkool <segher at kernel.crashing.org> wrote:

> On Thu, Nov 24, 2016 at 12:08:40AM +1100, Nicholas Piggin wrote:
> > Question, are there any fundamental reasons we shouldn't use the ELFv2
> > ABI to build big endian kernels if the compiler supports it?  
> 
> No one uses ELFv2 for BE in production, and it isn't thoroughly tested
> at all, not even regularly tested.  "Not supported", as far as GCC is
> concerned (or any of the distros AFAIK).
> 
> There are no fundamental reasons of course, ABIs are largely just
> conventions, not laws of nature.

That's a very good reason! I didn't think of that, I'll drop the idea.

Thanks,
Nick


More information about the Linuxppc-dev mailing list