On Sat, 2025-06-07 at 14:55 +0200, Anders Magnusson wrote:
> Den 2025-06-07 kl. 13:11, skrev Andreas Schwab:
> > On Jun 07 2025, Anders Magnusson wrote:
> > 
> > > The paper copy of the "System V Application Binary Interface" for 68000
> > > that I have here says that all pointers should be aligned 4 bytes (figure
> > > 3-1).  Nothing else.
> > And how is that relevant?
>
> Well, were we not discussing the ELF specification for 68k?

It's odd that Andreas would claim that an alignment of 2 bytes is the official
ABI when he himself that admitted himself that the 2 bytes is a mistake, i.e.
wrong [1].

But let's get back to my proposal: I would suggest adding an option to the Linux
kernel, glibc and gcc to configure them with 4 bytes alignment. Since that 
adheres
to the official SVR4 specification, we could use the appropriate moniker for 
that.

Providing users with options is usually the best way to deal with conflicts.

Adrian

> [1] https://lore.kernel.org/all/[email protected]/

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

Reply via email to