[En-Nut-Discussion] xnutboot entry point
Przemyslaw Rudy
prudy at audiotech.pl
Sun Aug 20 13:25:27 CEST 2006
I found the semi-solution, change compilation flag -Os to -O0.
But still, what if I really want -Os?
Przemyslaw Rudy wrote:
> Hi,
>
> I am trying to compile the xnutboot serial bootloader.
> It looks like with the original build options and the latest avr-gcc the
> ‘main’ function is not the entry point anymore.
> The .map file shows:
> ------------
> .text 0x0001fc00 0x260 xnutboot.o
> 0x0001fd94 main
> ------------
> whilst in the reference .map file:
> ------------
> .text 0x0001fc00 0x2a8 xnutboot.o
> 0x0001fc00 main
> ------------
>
> The .lst file shows ‘main’ at offset 0x194 indeed:
> ------------
> .text:00000000 SendOctet
> .text:00000008 FlashPage
> .text:000000cc RecvOctet
> .text:00000104 RecvPacket
> .text:00000194 main
> ------------
> whilst in the reference .lst file:
> ------------
> .text:00000000 main
> .text:00000218 RecvPacket
> .text:000001d8 SendOctet
> .text:000000cc FlashPage
> .text:000001e0 RecvOctet
> ------------
>
> Do you have any quick solution for that?
>
> Best Regards
> Przemek
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>
More information about the En-Nut-Discussion
mailing list