[clang] [Clang] Partially fix m68k alignments (PR #144740)
John Paul Adrian Glaubitz via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 18 10:46:08 PDT 2025
glaubitz wrote:
> LGTM thanks. Sorry this PR slipped under my radar. Just a little bit more context: 68k GCC actually uses a different ABI than 68k's SysV ABI: https://m680x0.github.io/doc/abi#scalar-types . And we decided to implement GCC's ABI for now.
FWIW, on NetBSD and Amiga Unix, m68k actually uses the proper SysV ABI. I am currently working on a plan to switch the default alignment on Linux m68k to 32 bits to match the official ABI and other Unix operating systems using the ELF ABI.
https://github.com/llvm/llvm-project/pull/144740
More information about the cfe-commits
mailing list