Date: Sat, 31 May 2003 12:55:05 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern imgact_elf.c Message-ID: <200305311955.h4VJt5i5025086@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305311955.h4VJt5i5025086>
