From owner-cvs-all@FreeBSD.ORG Fri Jul 11 14:39:26 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9735537B401; Fri, 11 Jul 2003 14:39:26 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3446943F3F; Fri, 11 Jul 2003 14:39:26 -0700 (PDT) (envelope-from peter@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h6BLdQ0U069607; Fri, 11 Jul 2003 14:39:26 -0700 (PDT) (envelope-from peter@repoman.freebsd.org) Received: (from peter@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h6BLdPp5069606; Fri, 11 Jul 2003 14:39:25 -0700 (PDT) Message-Id: <200307112139.h6BLdPp5069606@repoman.freebsd.org> From: Peter Wemm Date: Fri, 11 Jul 2003 14:39:25 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 locore.s X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2003 21:39:27 -0000 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