To link an AVR bootloader add this to the linker command line:
-Wl,--section-start=.text=$(BOOT_START),-e,boot,--defsym,zero_addr=0 -nostdlib
From http://old.nabble.com/Relocate-Data-into-bootloader-Section-td28511592.html
To link an AVR bootloader add this to the linker command line:
-Wl,--section-start=.text=$(BOOT_START),-e,boot,--defsym,zero_addr=0 -nostdlib
From http://old.nabble.com/Relocate-Data-into-bootloader-Section-td28511592.html