cvs commit: src/sys/kern imgact_elf.c

Marcel Moolenaar marcel at FreeBSD.org
Sat May 31 12:55:07 PDT 2003


marcel      2003/05/31 12:55:05 PDT

  FreeBSD src repository

  Modified files:
    sys/kern             imgact_elf.c 
  Log:
  Fix ia32 compat on ia64. Recent ia64 MD changes caused the garbage on
  the stack to be changed in a way incompatible with elf32_map_insert()
  where we used data_buf without initializing it for when the partial
  mapping resulting in a misaligned image (typical when the page size
  implied by the image is not the same as the page size in use by the
  kernel). Since data_buf is passed by reference to vm_map_find(), the
  compiler cannot warn about it.
  
  While here, move all local variables to the top of the function.
  
  Revision  Changes    Path
  1.139     +4 -5      src/sys/kern/imgact_elf.c


More information about the cvs-src mailing list