avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] [bug #22878] eeprom_*_word/dword/blockcausehanginATme


From: Dmitry K.
Subject: Re: [avr-libc-dev] [bug #22878] eeprom_*_word/dword/blockcausehanginATmega256x
Date: Thu, 10 Apr 2008 09:08:47 +1100
User-agent: KMail/1.5

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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]