Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k

John Paul Adrian Glaubitz <[email protected]> Mon, 16 Jun 2025 13:16:06 +0200
Newsgroups gmane.linux.ports.m68k,gmane.os.netbsd.ports.m68k,gmane.linux.debian.ports.68k
Message-ID <10bd814a93045ee24ef9909ebf04310275e02822.camel@physik.fu-berlin.de>
On Mon, 2025-06-16 at 13:10 +0200, John Paul Adrian Glaubitz wrote:
> On Mon, 2025-06-16 at 13:05 +0200, Laurent Vivier wrote:
> > I think an e_flags with a new value like EF_M68K_ABI2 would be more app=
ropriate.
>=20
> How is it currently used on m68k and does QEMU use it? I think that would=
 be
> certainly a way to go.

So, it seems that this is what's being used on MIPS:

https://elixir.bootlin.com/linux/v6.15.2/source/arch/mips/include/asm/elf.h=
#L289

Looks like this would be the way to go!

Thanks Laurent for digging this out! The discussion definitely yields some =
results ;-).

Adrian

--=20
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913