On Thursday 10 April 2008 08:19, Dmitry K. wrote: > Yes, I have obtain the same result of compilation. > > Incorrect is result of linking (avr-objdump -d): > ldi r24, 0 > ldi r25, 0 > in case of foo4() only. > > The trampoline stub for foo4() was created correctly.
Now I have look again directly: avr-gcc -W -Wall -Os -mmcu=atmega2560 test.c avr-objcopy -O binary a.out test.bin and look with common text editor (in hex mode): 0003AAD8: 80 E0 90 E0 This is 'ldi r24,0' and 'ldi r25,0'. Dmitry. _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
