https://sourceware.org/bugzilla/show_bug.cgi?id=23570
--- Comment #2 from Gabriel Rauter <rauter.gabriel at gmail dot com> --- Hi Nick, yes the patch fixes the issue and the .noinit section gets correctly set to NOBITS. Sadly i can not comment on other special sections since i only investigated this issue since it broke a popular custom keyboard firmware when using avr-gcc 8.2. https://github.com/qmk/qmk_firmware/issues/3657 But as far as i can tell the .noinit section is the only one who needs to be set to NOBITS since the section is part of the .bss section. https://www.nongnu.org/avr-libc/user-manual/mem_sections.html I am quiet unsure why gcc stopped setting NOBITS for the .noinit section. They still warn you when you try to initialize a variable set to the .noinit section tough. And it looks like they set the bss flags even commenting it should be nobits https://gcc.gnu.org/viewcvs/gcc/trunk/gcc/config/avr/avr.c?revision=257301&view=markup#l10322. Thanks for your help Gabriel -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils