Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k
Andreas Schwab <[email protected]> Sat, 07 Jun 2025 16:38:23 +0200
| Newsgroups | gmane.os.netbsd.ports.m68k,gmane.linux.debian.ports.68k,gmane.linux.ports.m68k |
|---|---|
| Message-ID | <[email protected]> |
On Jun 07 2025, John Paul Adrian Glaubitz wrote: > On Sat, 2025-06-07 at 11:58 +0200, Andreas Schwab wrote: >> On Jun 07 2025, John Paul Adrian Glaubitz wrote: >> >> > Who is "we"? The official(!) ABI says that pointers are supposed to be aligned >> > with 4 bytes, not 2 bytes. >> >> No, that is wrong. The official ABI uses 2 byte alignment. > > The official AT&T SysV ABI states that pointers must be aligned with 4 bytes. If you want to use AT&T System V, you are free to do so. But Linux is not AT&T System V. -- Andreas Schwab, [email protected] GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."