What is also interesting is that an "avr-objdump -d crttn13.o" in the avr-libc source reveals that the stack pointer (0x3d) is set to 0.
Disassembly of section .init2: 00000000 <.init2>: 0: 11 24 eor r1, r1 2: 1f be out 0x3f, r1 ; 63 4: c0 e0 ldi r28, 0x00 ; 0 6: cd bf out 0x3d, r28 ; 61 Disassembly of section .init9: Somehow (make process?) this is being changed to 0x1f in the case ot tiny13. Now to find out where, because if I just edit crttn13.0 to remove lines 4 & 6 (which is the effect that I want), I expect it will break something in the compile chain. Cheers, Robert _______________________________________________ AVR-chat mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-chat
