Uwe Hermann 1621fde1f4 Add proper C runtime init, add reset handler.
The C runtime wasn't initialized correctly (there was garbage in the data
and bss sections). Add a reset_handler which initializes these sections
before calling the application's main() function.

The initial stack pointer is also defined in the linker script, allowing the
application to override with a linker command line option
"-Wl,--defsym,_stack=0x20005000".

Thanks to Gareth McMullin <gareth@blacksphere.co.nz>.
2010-10-19 02:00:28 +02:00
..
2010-03-26 17:36:15 +01:00
2010-05-12 18:12:31 +02:00
2010-03-28 15:19:32 +02:00
2010-06-29 22:29:57 +02:00
2010-04-13 22:26:07 +02:00
2010-10-18 00:36:39 +02:00
2010-03-28 15:51:10 +02:00