------- Comment #1 from KenJackson at ieee dot org 2006-02-21 16:00 ------- I have confirmed that I can work around the error by adding these two lines:
void skip_clear_bss(void) __attribute__((naked,section(".init3")));
void skip_clear_bss(void) { asm volatile ("rjmp main" : :); }
But unfortunately this also skips __do_copy_data, which initializes all
initialized global data. Both it and __do_clear_bss are in segment .init4.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26396
