Subject: Re: Shared arm26/arm32 user code
To: Richard Earnshaw <rearnsha@arm.com>
From: Ben Harris <bjh21@netbsd.org>
List: port-arm26
Date: 11/25/2000 16:15:59
On Sat, 25 Nov 2000, Richard Earnshaw wrote:

> Another thought.  Because of the condition code clobbering aspect of the 
> new abi, you won't be able to mix code compiled with it with, say a shared 
> library built for apcs-26 mode.  Maybe you realised this anyway, but it is 
> another of the restrictions.

That's precisely why I want to get this done before I put shared libraries
in NetBSD/arm26.  Once there are shared libraries to deal with, the
transition gets a lot messier.

> Another thing we need to consider when switching to ELF on arm32 is the 
> basic alignment we return.  Newer processors with architecture v5 (eg 
> XScale) have instructions that only work on double-word aligned memory.  

That'll be fun.  Presumably this won't directly affect code built for
older CPUs.

-- 
Ben Harris                                                   <bjh21@netbsd.org>
Portmaster, NetBSD/arm26               <URL:http://www.netbsd.org/Ports/arm26/>