Hi
On Mon, Oct 18, 2010 at 11:25 AM, Uwe Hermann <uw...@he...> wrote:
> Hi,
>
> On Fri, Oct 15, 2010 at 07:28:00PM +1300, Gareth McMullin wrote:
> > I've just started working on libopenstm32, and noticed that the C runtime
> > isn't initialized correctly (there is garbage in the data and bss
> sections).
> > The attached patch includes a reset_handler which initializes these
> section
> > 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".
> >
> The patch looks good, just a small question: does this require changes
> to any of the example linker scripts or Makefiles or READMEs in examples/*?
> If yes, could you also provide a patch to update those?
>
> I've just had a look through and no changes are required to the examples.
The results should be the same as before the patch.
Regards,
Gareth
--
*Black Sphere Technologies Ltd.*
Web: www.blacksphere.co.nz
Mobile: +64 27 777 2182
Tel: +64 9 478 8885
Skype: gareth.mcmullin
LinkedIn: http://nz.linkedin.com/in/gsmcmullin
|