Re: [arm-gnu] misalignment in ellipsis?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] misalignment in ellipsis?
- To: Patric Keller <Patric.Keller@xxxxxxxxxxxxxxx>
- Subject: Re: [arm-gnu] misalignment in ellipsis?
- From: Richard Earnshaw <rearnsha@xxxxxxxxxxx>
- Date: Thu, 18 Aug 2005 15:20:36 +0100
On Thu, 2005-08-18 at 14:57, Patric Keller wrote:
> Running the program again, which causes a different
> memory location and results in va being aligned on a 4 byte
> boundary, produces (by accident?) the right result:
The most likely problem here is that your stack isn't correctly aligned
when you call main(). It's the responsibility of your startup code to
ensure that sp is 8-byte aligned at this time.
R.