Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 10/07/2005 08:33:10
Module Name:	src
Committed By:	simonb
Date:		Fri Oct  7 08:33:10 UTC 2005

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

Log Message:
Add a hack to deal with MIPS relocatable shared-linker problem on
COMPAT_16 and earlier that results in a current shared linker running at
address 0 (and thus allows NULL pointer derefs to work).

As noted by Matthias Drochner, this "fix" just checks the first psection
and not the first loadable psection.  This isn't a problem with the
binutils up to now, but might be in the future.


To generate a diff of this commit:
cvs rdiff -r1.106 -r1.107 src/sys/kern/exec_elf32.c

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