Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: matthew green <mrg@netbsd.org>
List: source-changes
Date: 12/02/2000 06:08:36
Module Name:	syssrc
Committed By:	mrg
Date:		Sat Dec  2 04:08:36 UTC 2000

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

Log Message:
pull over lost fix from nebsd32_exec.c:
>revision 1.25
>date: 2000/12/01 08:59:02;  author: mrg;  state: Exp;  lines: +2 -2
>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.1 -r1.2 syssrc/sys/compat/netbsd32/netbsd32_exec_elf32.c

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