avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #45701] redundant stack initialization in crt1.o


From: Georg-Johann Lay
Subject: [avr-libc-dev] [bug #45701] redundant stack initialization in crt1.o
Date: Mon, 11 Jul 2016 19:16:05 +0000 (UTC)
User-agent: Opera/9.80 (Windows NT 5.0; U; de) Presto/2.6.30 Version/10.63

Follow-up Comment #1, bug #45701 (project avr-libc):

The current startup code allows a custom value for SP init by defining symbol 
__stack , for example:  -Wl,--defsym,__stack=0x123  or by defining that symbol
in a custom linker description file.

Moreover it is not uncommon to (re)start an application by jumping to 0x0,
e.g. from a bootloader.  If the startup code was "optimized" as proposed, that
code will no more work as expected.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?45701>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]