Searched hist:118186 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/i386/i386/
H A Dlocore.sdiff 118186 Tue Jul 29 19:57:01 MDT 2003 bde Restored clearing of the bss, except for putting it in a correct place
with up to date comments. This fixes booting kernels with boot2
(except for loss of the features provided by loader) and is suitable
for MFC. Contrary to the old comments, most loaders don't clear the bss.
biosboot lost clearing of the bss in a code crunch in 1997, and boot2
never did it.

kan didn't notice the problem with gcc-3.3 putting variables that are
initialized to 0 in the bss until after committing gcc-3.3 because he
was already using essentially this patch. Before gcc-3.3, only the
non-critical `bootdev' variable was clobbered by clearing the bss.

MFC after: 3 days

Completed in 209 milliseconds