avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "nake


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Weird optimization issue with avr-gcc 4.5.3, re "naked."
Date: Fri, 27 Jan 2012 21:38:56 +0100 (MET)

"William \"Chops\" Westfield" <address@hidden> wrote:

> int main(void) __attribute__ ((naked)) __attribute__ ((section (".init9")));

Instead of trying to force main into being naked, I think it would be
better to use the OS_main attribute.

Btw., please subscribe to the list.  You might miss replies otherwise.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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