Re: Tuple and changes for m68k with -malign-int
Hi Adrian,
On Mon, 19 May 2025 at 09:54, John Paul Adrian Glaubitz
<glaubitz@physik.fu-berlin.de> wrote:
> On Mon, 2025-05-19 at 09:42 +0200, Geert Uytterhoeven wrote:
> > I expect (the history of) the gcc sources would tell you more about
> > the default alignment on other (legacy UNIX) OSes supporting m68k...
>
> Good idea. I will do that. My assumption is that on Linux, GCC developers
> actually just forgot to switch alignment from 2 to 4 bytes with the switch
> to ELF unlike NetBSD.
Linux/m68k ELF and a.out were deliberately kept compatible, and
coexisted together for a brief moment in time.
The NetBSD kernel and userland are a single system built from source
maintained together, so a recompile of everything was never considered
a big issue.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Reply to: