Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 12/01/2000 10:59:03
Module Name:	syssrc
Committed By:	mrg
Date:		Fri Dec  1 08:59:03 UTC 2000

Modified Files:
	syssrc/sys/compat/netbsd32: netbsd32_exec.c

Log Message:
in netbsd32_elf32_probe(), 'pos' is really a pointer to an Elf_Addr, not a
vaddr_t.  cast the pointer before dereferencing it to avoid the alignment
fault that broke compat_netbsd32, cuz pos is defined like:
	Elf_Addr phdr = 0, pos = 0;
in exec_elf32.c.


To generate a diff of this commit:
cvs rdiff -r1.24 -r1.25 syssrc/sys/compat/netbsd32/netbsd32_exec.c

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