diff options
| author | Brooks Davis <brooks@FreeBSD.org> | 2025-10-02 09:25:53 +0000 |
|---|---|---|
| committer | Brooks Davis <brooks@FreeBSD.org> | 2025-10-02 09:28:35 +0000 |
| commit | f7b6ea699b23b3af81866ef3aafb398c2c0d45af (patch) | |
| tree | 586bbf6ac1f5811beae309b866915570f6e948d3 | |
| parent | 0a551f8a7d68ca42d60824682123f12bba76c477 (diff) | |
arch.7: correct claim about ILP32 alignment
Only i386 lays out structures with weak (4-byte) alightment. It may be
that access works when weakly aligned, but from an ABI perspective, it's
all about struct layout.
Reviewed by: kib, emaste
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D52818
| -rw-r--r-- | share/man/man7/arch.7 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/man/man7/arch.7 b/share/man/man7/arch.7 index 3b7576dc67cb..5de441aed699 100644 --- a/share/man/man7/arch.7 +++ b/share/man/man7/arch.7 @@ -183,9 +183,9 @@ On all supported architectures: Integers are represented in two's complement. Alignment of integer and pointer types is natural, that is, the address of the variable must be congruent to zero modulo the type size. -Most ILP32 ABIs, except -.Dv arm , -require only 4-byte alignment for 64-bit integers. +The sole exception is that +.Dv i386 +requires only 4-byte alignment for 64-bit integers. .Pp Machine-dependent type sizes: .Bl -column -offset indent "Architecture" "void *" "long double" "time_t" |
