On 09/08/2011 11:26 PM, Bernhard Kuemel wrote:
> Hi!
> 
> I'm trying to modify and port Kasper Pedersens assembler bootloader
> tinyloader to gnu avr-gcc.
> 
> I'm stuck with moving the code to the end of flash. I read about
> .section statements and --section-start linker arguments (in the
> makefile), but I just can't figure it out. Either the section is not
> moved up, or it's missing in the .hex file while it shows up fine in the
> .lst file.

> %.hex: %.elf
>         $(OBJCOPY) -j .text -j .data -O ihex $< $@

Ok, the .bootloader section was missing here.

Found it in the archives here.

Bernhard

_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to