[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)
Jens Reidel via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 20 18:24:14 PDT 2025
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 and Gentoo at least lists it as a theoretical option.
Also, this isn't exactly a fix limited to glibc target triples. It fixes the data layout on any target triple that defaults to ELFv1 when `-mabi=elfv2` is specified, which is a supported usecase and explicitly specified in the ABI document.
https://github.com/llvm/llvm-project/pull/149725
More information about the cfe-commits
mailing list