[patch] Arm startup code stack alignment

Paul Brook paul@codesourcery.com
Mon Mar 28 14:29:00 GMT 2005

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>

 * arm/crt0.S: Ensure doubleword stack alignment.
 * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.newlib_stack_argalign
Type: text/x-diff
Size: 1586 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20050328/d69597de/attachment.bin>

More information about the Newlib mailing list