Gelbpunkt wrote:
> This one claims to support old processors too, so seems like also a case of
> "loosened" ELFv2?
Correct, it isn't strictly ELFv2.
> I'm just concerned about what downstream projects seem to be doing with the
> term `elfv2`...
Fair point, ideally I'd like both the "proper"
Gelbpunkt wrote:
> Is this no longer the case?
The page is probably correct in so far that glibc doesn't explicitly support
it. However, out of the 64-bit big endian Linux distributions *using* glibc
that I'm aware of (Arch Linux POWER, Void Linux for PowerPC, Gentoo), the first
two use ELFv2
https://github.com/Gelbpunkt created
https://github.com/llvm/llvm-project/pull/149725
Prior to this change, the data layout calculation would not account for
explicitly set `-mabi=elfv2` on `powerpc64-unknown-linux-gnu`, a target that
defaults to `elfv1`.
This is loosely inspired by the equiv