> Yes, you ran into the binutils bug - the linker script is missing the > KEEP directive for *.data. If your program does not have anything that > goes into .data (non-zero initialized globals and static locals), then > this bug gets exposed.
Thank you! Changing this line in the linker script resulted in the correct behavior. In the meantime I downloaded binutils 2.23, and it looks like the fix has been applied. Out of curiosity, since what version of binutils is the bugfix out, or has the patch been applied to all the downloadable released versions? Kirill _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list