Subject: Re: Another ELF issue
To: None <Richard.Earnshaw@arm.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: port-arm
Date: 02/13/2002 09:10:18
On Wed, Feb 13, 2002 at 03:51:50PM +0000, Richard Earnshaw wrote:

 > Although not directly related to the stack-alignement issue (remember, 
 > stack is 8-byte aligned at entry to a function so that ldrd can be used if 
 > desired for the target machine), it is also suggested that malloc(3) 
 > behave similarly.  In that way, when objects are known to be allocated 
 > from the heap, an ldrd/strd operation can be safely used.
 > 
 > Does our Malloc do this?

Well, mallocs on the Alpha are certainly suitably aligned, so it's
possible, at least :-)

The minimum allocation size is currently 16 bytes, and it appears to
be a power-of-two allocator, so I think we're okay.

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>