[Bug other/77609] __attribute__((section(".note.foo"))) forces SHT_PROGBITS though the assembler would use SHT_NOTE

2018-09-01 Thread rauter.gabriel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77609

Gabriel Rauter  changed:

   What|Removed |Added

 CC||rauter.gabriel at gmail dot com

--- Comment #6 from Gabriel Rauter  ---
This change breaks the .noinit section on avr which now gets set to PROGBTIS
because the section type is omitted. It should be NOBITS.

[Bug other/77609] __attribute__((section(".note.foo"))) forces SHT_PROGBITS though the assembler would use SHT_NOTE

2018-09-03 Thread rauter.gabriel at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77609

--- Comment #7 from Gabriel Rauter  ---
(In reply to Gabriel Rauter from comment #6)
> This change breaks the .noinit section on avr which now gets set to PROGBTIS
> because the section type is omitted. It should be NOBITS.

.noinit regression fixed in binutils
https://sourceware.org/bugzilla/show_bug.cgi?id=23570