cvs commit: src/sys/i386/i386 locore.s

Peter Wemm peter at FreeBSD.org
Fri Jul 11 14:39:27 PDT 2003


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


More information about the cvs-src mailing list