[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Question on BIGGEST_ALIGNMENT in GCC on NetBSD/m68k



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, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


Reply to: