Date: Fri, 11 Jul 2003 14:39:25 -0700 (PDT) From: Peter Wemm <peter@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: <200307112139.h6BLdPp5069606@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2003/07/11 14:39:25 PDT
FreeBSD src repository
Modified files:
sys/i386/i386 locore.s
Log:
Fix the gcc-3.3 boot problem. Gcc now optimizes 'int foo = 0' by moving
it to the bss section and skips the initialization. This causes all
sorts of havoc because the bogus bss zero code clobbered previously set
variables. All our supported boot loaders already zero the bss, even
kgzip for the elf case. Since we dont generate a.out kernels, the old
a.out bootblocks and the a.out kgzip are not a factor anymore.
Revision Changes Path
1.172 +5 -21 src/sys/i386/i386/locore.s
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307112139.h6BLdPp5069606>
