[RFC][PATCH] powerpc/64be: use ELFv2 ABI for big endian kernels
Oliver O'Halloran
oohall at gmail.com
Thu Nov 24 16:37:50 AEDT 2016
On Thu, Nov 24, 2016 at 1:38 AM, 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).
Is this actually unsupported by gcc? The ppc64 musl libc port is ABI
v2 only so they use it on BE too. Buildroot forces ABI v2 to be used
for all of userspace when musl is selected as the libc for this reason
so it's not completely used in the wild. It's still pretty niche
though...
More information about the Linuxppc-dev
mailing list