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

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

Re: [avr-gcc-list] When does the Stack Frame Pointer (Y) get setup?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] When does the Stack Frame Pointer (Y) get setup?
Date: Wed, 4 Jul 2012 09:43:42 +0200 (MET DST)

Bob Paddock <address@hidden> wrote:

> Did I miss anything in the documentation that would tell me not to
> use auto variables in .initX sections after .init2 that sets the
> stack?

If you declare the function being "naked", you cannot expect the
compiler to allocate a stack frame.

-- 
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]