Subject: CVS commit: syssrc/sys/compat/irix
To: None <source-changes@netbsd.org>
From: Emmanuel Dreyfus <manu@netbsd.org>
List: source-changes
Date: 01/21/2002 23:51:32
Module Name:	syssrc
Committed By:	manu
Date:		Mon Jan 21 21:51:31 UTC 2002

Modified Files:
	syssrc/sys/compat/irix: irix_syssgi.c

Log Message:
Fixed a bug introduced in the previous fix to mapelf:
we used load_psection, then ran each vmcmd and tried to relocate the failing
ones. This fails if there is two vmcmd for one section, and the second is
not a mapping (for instance a map_pagedvn and a map_zero), because the first
one gets relocated, but not the second one.

Additionnaly, it was not necessary to update the userlevel psection array:
libc stubs seems to do the job themselves.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 syssrc/sys/compat/irix/irix_syssgi.c

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