Subject: CVS commit: src/sys
To: None <source-changes@netbsd.org>
From: Matt Thomas <matt@netbsd.org>
List: source-changes
Date: 02/27/2003 03:58:56
Module Name:	src
Committed By:	matt
Date:		Thu Feb 27 01:58:56 UTC 2003

Modified Files:
	src/sys/kern: exec_elf32.c
	src/sys/sys: exec.h

Log Message:
Remove VMCMD_TOPDOWN since it's no longer.  Redo my last rework.  Move
VM_DEFAULT_ADDRESS from elf*_makecmds to elf*_load_file.  In load_file,
actually determine ahead of time how much space will be needed and pass
that to VM_DEFAULT_ADDRESS.  Now we have a relatistic starting address
so we can do the loading of psections normally with no extra topdown
code in load_psection.  Also, if there is a gap in betweeen psections
zero map an inaccessible region between (just like ld.elf_so does) to
avoid inadvertant mmaps in the gap.


To generate a diff of this commit:
cvs rdiff -r1.82 -r1.83 src/sys/kern/exec_elf32.c
cvs rdiff -r1.94 -r1.95 src/sys/sys/exec.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.