[patch] Arm startup code stack alignment

Nick Clifton nickc@redhat.com
Tue Apr 5 07:40:00 GMT 2005


Hi Paul, Hi Jeff,

> The Arm startup code allocates stack space for argv[]. The attached patch 
> ensures that the stack pointer remains aligned to a doubleword boundary, as 
> required by the EABI.

> 2005-03-28  Paul Brook  <paul@codesourcery.com>
> 
> libgloss/
>  * arm/crt0.S: Ensure doubleword stack alignment.
> newlib/
>  * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.

This looks OK to me.  Unfortunately I do not have approval rights for 
newlib, but I can recommend to Jeff that he approves it.

Cheers
   Nick



More information about the Newlib mailing list