As Senthil Kumar Selvaraj wrote: > For starters, the below patch defines __FUSE_REGION_LENGTH__ as a weak > symbol. > > diff --git avr-libc/crt1/gcrt1.S avr-libc/crt1/gcrt1.S > index 561d4f8..b2f482b 100644 > --- avr-libc/crt1/gcrt1.S > +++ avr-libc/crt1/gcrt1.S > @@ -390,3 +390,8 @@ __do_copy_data: > .L__desc_end: > .balign 4 > > + /* Set length symbol values - this linker script > + and the linker use these to detect size overflows. > + */ > + .weak __FUSE_REGION_LENGTH__ > + .set __FUSE_REGION_LENGTH__, FUSE_MEMORY_SIZE > > Is this ok?
Looks good (and useful) to me. -- cheers, Joerg .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-) _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev