Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k
Jason Thorpe <[email protected]> Mon, 16 Jun 2025 07:43:02 -0700
| Newsgroups | gmane.linux.ports.m68k,gmane.os.netbsd.ports.m68k,gmane.linux.debian.ports.68k |
|---|---|
| Message-ID | <[email protected]> |
> On Jun 16, 2025, at 2:10=E2=80=AFAM, Laurent Vivier = <[email protected]> wrote: >=20 > 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=E2=80=99s hope existing Linux/m68k binaries are using ELFOSABI_LINUX = / ELFOSABI_GNU (3) (sorry, I don=E2=80=99t have any handy to check). If the existing binaries correctly label themselves has having the = Linux-specific ABI, then this is trivial and there=E2=80=99s no reason = to use a note to differentiate them. -- thorpej