[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

Alex Rønne Petersen via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 20 18:30:39 PDT 2025


alexrp wrote:

> Arch Linux POWER

This one claims to support old processors too, so seems like also a case of "loosened" ELFv2?

> 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.

Sure, I'm not objecting to the fix. From a quick glance, it seems ok to me. I'm just concerned about what downstream projects seem to be doing with the term `elfv2`...

https://github.com/llvm/llvm-project/pull/149725


More information about the cfe-commits mailing list