Date: Tue, 29 Jul 2003 14:57:01 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/i386 locore.s Message-ID: <200307292157.h6TLv1VE066076@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 2003/07/29 14:57:01 PDT FreeBSD src repository Modified files: sys/i386/i386 locore.s Log: 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 Revision Changes Path 1.174 +18 -9 src/sys/i386/i386/locore.s
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307292157.h6TLv1VE066076>