Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k
Finn Thain <[email protected]> Wed, 18 Jun 2025 13:19:01 +1000 (AEST)
| Newsgroups | gmane.os.netbsd.ports.m68k,gmane.linux.debian.ports.68k,gmane.linux.ports.m68k |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 16 Jun 2025, Jason Thorpe wrote: > > > On Jun 16, 2025, at 2:10 AM, Laurent Vivier <[email protected]> wrote: > > > > I think you need to change the ABI type in the ELF header: > > https://fr.wikipedia.org/wiki/Executable_and_Linkable_Format > > 4-byte alignment binaries should have ELFOSABI_SYSV (0) (since that ABI > spec is where the 4 byte alignment comes from). If Linux/m68k is > already using that, then those binaries are broken by definition. > > Let’s hope existing Linux/m68k binaries are using ELFOSABI_LINUX / > ELFOSABI_GNU (3) (sorry, I don’t have any handy to check). > > If the existing binaries correctly label themselves has having the > Linux-specific ABI, then this is trivial and there’s no reason to use a > note to differentiate them. > Do you know of a good solution for this open bug? https://sourceware.org/bugzilla/show_bug.cgi?id=30273