Subject: Heads Up: Alignment faults enabled on arm32
To: None <port-arm@netbsd.org>
From: Steve Woodford <scw@netbsd.org>
List: port-arm
Date: 10/25/2003 20:55:11
Hi,
I've just enabled alignment faults for arm32. This will catch all
misaligned loads/stores, which previously silently failed, leading to
possible data corruption.
In order to support older a.out binaries (in which gcc made use of
misaligned accesses for short ints under certain circumstances), the
kernel will dynamically disable alignment faults just before executing
a.out userland code, and re-enable them on entry back into the kernel.
This feature is automatically enabled when both COMPAT_15 and EXEC_AOUT
are defined.
Enjoy.
Cheers, Steve