Subject: Re: Enabling alignment faults
To: Steve Woodford <email@example.com>
From: Jason Thorpe <firstname.lastname@example.org>
Date: 10/23/2003 17:07:42
On Thursday, October 23, 2003, at 03:05 PM, Steve Woodford wrote:
> To that end, I rattled up "options ARM_ENABLE_ALIGNMENT_FAULTS"
> with the necessary glue in fault.c, and cp15 frobbing (for xscale only
> right now) in cpufuncs.c.
Actually, what we really want are:
- Alignment fault enabled always for the kernel.
- Alignment fault enabled always for ELF image processes.
Our ELF ABI says that unaligned access it not acceptable,
and GCC is configured to not generate unaligned accesses
for our ELF ABI.
- Alignment fault disabled (i.e. unaligned access allowed)
for a.out image processes.
...this was discussed and agreed to in great length while we were
making the transition to ELF on ARM.
-- Jason R. Thorpe <email@example.com>