Re: Tuple and changes for m68k with -malign-int
Geert Uytterhoeven <[email protected]>
| Newsgroups | gmane.linux.debian.ports.68k,gmane.comp.lib.glibc.user,gmane.linux.ports.m68k |
|---|---|
| Message-ID | <CAMuHMdVxxRBP+2o6vh7JQpLEWC1D5+n8ZFsy4Jo6f6P-7PD4HQ@mail.gmail.com> |
Hi Adrian, On Mon, 19 May 2025 at 09:54, John Paul Adrian Glaubitz <[email protected]> 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