>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 _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list