Subject: Re: ELF ABI query
To: None <thorpej@wasabisystems.com>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: port-arm
Date: 11/30/2001 18:28:14
> On Fri, Nov 30, 2001 at 09:44:26AM -0800, Matt Thomas wrote:
>
> > Can you disable unaligned access (so they cause a trap)?
>
> It is possible to do so, I believe; I'll have to peek at the ARM ARM
> again.
Yes, on some processors, it depends on the MMU. If it is supported it is
controlled by bit 1 of cp15 r1. Use CPU_CONTROL_AFLT_ENABLE from
arm/armreg.h
>
> > If so, should we enable it when loading ELF programs?
>
> That certainly might be useful; it would save a lot of debugging, I'm sure.
Yes. Certainly we should try to make use of this feature.