> 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.

-- thorpej

Reply via email to