Re: Preliminary results - was: Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k
Kolbjørn Barmen <[email protected]> Tue, 6 Jan 2026 14:34:02 +0100 (CET)
| Newsgroups | gmane.linux.debian.ports.68k,gmane.os.netbsd.ports.m68k,gmane.linux.ports.m68k |
|---|---|
| Message-ID | <[email protected]> |
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