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

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

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


From: Don Kinzer
Subject: [avr-gcc-list] E: When does the Stack Frame Pointer (Y) get setup?
Date: Tue, 3 Jul 2012 10:57:20 -0700

>void id_filter_init8( void ) __attribute__ ((naked)) 
>__attribute__((section(".init8")));
I suspect that the "naked" attribute is causing the omission of the
stack frame setup.  You'll probably have to create a "static inline"
function (without the naked attribute) to call from id_filter_init8()
- the compiler should then produce the code you're expecting.

Don Kinzer



reply via email to

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