NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-m68k/60659: missing STACK_ALIGNMENT?
The following reply was made to PR port-m68k/60659; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: port-m68k/60659: missing STACK_ALIGNMENT?
Date: Fri, 28 Aug 2026 14:41:47 -0000 (UTC)
gnats-admin%NetBSD.org@localhost ("campbell+netbsd%mumble.net@localhost via gnats") writes:
> m68k header files don't appear to define STACK_ALIGNMENT.
> Should they?
> The ABI says it requires longword (4-byte) alignment:
> https://people.debian.org/~glaubitz/m68k-sysv-abi.pdf#page=39
There is STACK_ALIGNBYTES (== max padding needed for alignment) which
defaults to __ALIGNBYTES which defaults to (sizeof(int)-1).
Home |
Main Index |
Thread Index |
Old Index