Subject: Re: Shared library support for ARM ELF
To: Matt Thomas <>
From: Ben Harris <>
List: port-arm
Date: 07/20/2001 11:20:24
On Thu, 19 Jul 2001, Matt Thomas wrote:

> >Getting the ABI right is more important than getting it in 1.6 but wrong.
> >We will have to live with any mistakes for a LONG time.
> I'm willing to help on GCC is it would speed things up.
> So the remaining tasks are ATPS32 (?) and VFP support?

Remaining for what?  VFP support is only necessary if we want to run on
systems with VFP co-processors, which I believe aren't commercially
available yet.  If by "ATPS32", you mean 32-bit APCS, we've got that
already (-mapcs-32).

> What else is required?

MASK_RETURN_ADDR needs to be changed to generate code to check what mode
the CPU is in at run-time and pick the correct mask appropriately.
sys/arch/arm/include/profile.h demonstrates how to do this, but it needs
to be converted to a form GCC can understand.

Ben Harris                                                   <>
Portmaster, NetBSD/arm26               <URL:>