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
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user