Re: Tuple and changes for m68k with -malign-int

Geert Uytterhoeven <[email protected]>
Newsgroups gmane.linux.ports.m68k,gmane.comp.lib.glibc.user,gmane.linux.debian.ports.68k
Message-ID <CAMuHMdURQAf=iQxwPh57_Xj-TO_cnqH=eNPKvYDv41o8SgJLKQ@mail.gmail.com>
Hi Adrian,

On Sun, 18 May 2025 at 17:07, John Paul Adrian Glaubitz
<[email protected]> wrote:
> On Sun, 2025-05-18 at 16:39 +0200, Antonio Vargas Gonzalez wrote:
> > It correlates with the default in AmigaOS, which was originally
> > optimized to fit in 256K of RAM.
>
> AmigaOS doesn't use ELF though, it uses COFF. And Amiga Unix, which uses
> ELF, has a default alignment of 4 bytes as specified by the AT&T ABI.

Initially Linux didn't use ELF either, but a.out.
SunOS4 (based on BSD) did use 2-byte alignment on m68k, so I am still
surprised NetBSD didn't follow suit.
SunOS5 (based on SVR4) no longer supported m68k.

I expect (the history of) the gcc sources would tell you more about
the default alignment on other (legacy UNIX) OSes supporting m68k...

Gr{oetje,eeting}s,

                        Geert
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.