https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127947
--- Comment #5 from Drea Pinski <pinskia at gcc dot gnu.org> --- (In reply to Simon Willcocks from comment #4) > (In reply to Drea Pinski from comment #1) > > >-fno-zero-initialized-in-bss > > > > Is only about zero initialized excplitly. > > I see that's how it is, but I don't see why it has to be. Is there even > documentation that uninitialized static variables will be zero/nul/NULL? > > To me, -fno-zero-initialized-in-bss is a flag to avoid having a .bss > section, especially for embedded software. This seems to be an unpredictable > exception. It was not designed for embedded software. It was really just to workaround emacs. In a linker script you can avoid bss in general anyways.
