[Arm] SP and SL initialization refactored

Alexander Fedotov alfedotov@gmail.com
Tue Mar 19 13:55:00 GMT 2019

Hi all

In continue of threads
https://sourceware.org/ml/newlib/2019/msg00117.html and

I have reworked stack pointer initialization and stack limit as well.
General idea behind of all these changes is to provide hook for
flexibility (including semihosting when debug tap is used) and improve
readability of existing crt0 code.
And now code makes SP initialization in Thumb mode :)

Any comments are very appreciated.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-SP-initialization-changes.patch
Type: application/x-patch
Size: 12156 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20190319/62917927/attachment.bin>

More information about the Newlib mailing list