|
From: | Georg-Johann Lay |
Subject: | Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked." |
Date: | Sat, 28 Jan 2012 17:12:36 +0100 |
User-agent: | Mozilla Thunderbird 1.0.7 (Windows/20050923) |
William "Chops" Westfield schrieb:
To condense and summarize: Resolution: optiboot will use the "OS_main" attribute instead of "naked." It doesn't disable the optimization, the resulting code is "small enough", and the attribute is more exactly appropriate and correct as well. It was probably an oversight that OS_main wasn't used in the first place.
OS_task and OS_main are loitering around in official GCC sources quite some time now, since October 2007 which is since 4.3.0.
The documentation was added 4 years later (PR49824) and is online since 4.6.2.
[Prev in Thread] | Current Thread | [Next in Thread] |