Subject: Re: ARM ELF TODO list
To: Ben Harris <bjh21@netbsd.org>
From: Richard Earnshaw <rearnsha@buzzard.freeserve.co.uk>
List: port-arm
Date: 04/24/2001 19:18:29
> On Tue, 24 Apr 2001, Matt Thomas wrote:
> 
> > >* (gcc) Ensure 8-byte stack alignment on function entry
> >
> > Why 8 byte?
> 
> I was onder the impression that ATPCS required this, but I can't find the
> reference now.  In <URL:http://mail-index.netbsd.org/port-arm32/2001/02/
> 21/0024.html>, Richard claimed:
> 
> # 8-byte alignment of the stack is required by the ATPCS, however, it does
> # not specify that the stack should at all times remain strictly aligned (in
> # effect, the only requirement is that when control passes from one function
> # to another the stack is 8-byte aligned -- at other times, it is up to the
> # implementation).

It will (eventually) allow for ldrd instructions to be used for stack 
operations on those architectures that support it (ARMv5).

> > >* (ld.elf_so) Support for ARM ELF
> >
> > This I can do.
> 
> Oh good.
> 

Please ensure you get copyright disclaimers in place though.  We don't 
want to end up with the arm32/a.out situation again.

R.