Subject: CVS commit: basesrc/libexec/ld.elf_so
To: None <source-changes@netbsd.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 09/24/2002 04:24:45
Module Name:	basesrc
Committed By:	mycroft
Date:		Tue Sep 24 01:24:45 UTC 2002

Modified Files:
	basesrc/libexec/ld.elf_so: malloc.c rtld.c rtld.h

Log Message:
Use/require AT_PAGESZ on all platforms.  (The kernel has exported it for ~3
years now.)  Use _rtld_pagesz instead of getpagesize() to determine the page
size in our local malloc().  Saves a system call.

Also, since we're now relocated early, we don't need to be careful to avoid
globals, so most of the VARPSZ hacks are eliminated.


To generate a diff of this commit:
cvs rdiff -r1.5 -r1.6 basesrc/libexec/ld.elf_so/malloc.c
cvs rdiff -r1.68 -r1.69 basesrc/libexec/ld.elf_so/rtld.c
cvs rdiff -r1.53 -r1.54 basesrc/libexec/ld.elf_so/rtld.h

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