On Mon, 16 Jun 2025, John Paul Adrian Glaubitz wrote: > To summarize: > > - the ELF header provides provides the e_ident and e_flags fields which could > be > used for identifying a Linux/m68k system using the 4 bytes alignment ABI > - MIPS uses e_flags for differentiating its ABIs > - PA-RISC sets e_ident to 0x03 (Linux) while every other arch uses 0x00 (SysV > ABI) > - qemu-user needs to be patched to deal with the changed alignment > (include/user/abitypes.h) > - the kernel needs to be patched to deal with the changed alignment > (arch/m68k/kernel/signal.c)
Does this patch exist somewhere? I ask because I am migrating to 32bit-aligned userland (https://www.gentoo.org/downloads/#m68k) and the gcc provided fails building kernel, stopping at arch/m68k/kernel/signal.c -- kolla

