Subject: CVS commit: syssrc/sys/compat/vax1k
To: None <source-changes@netbsd.org>
From: Chuck Cranor <chuck@netbsd.org>
List: source-changes
Date: 08/29/2001 06:43:54
Module Name: syssrc
Committed By: chuck
Date: Wed Aug 29 03:43:54 UTC 2001
Modified Files:
syssrc/sys/compat/vax1k: files.vax1k vax1k_exec.c
Removed Files:
syssrc/sys/compat/vax1k: vax1k_subr.c
Log Message:
make 4.3 binaries run once again on the vax. tested with
omagic/nmagic/zmagic binaries from guest account on
Lord Isildur's tahoe system (thanks). enabled if both
COMPAT_43 and COMPAT_VAX1K are defined.
basically rewrote exec_vax1k_prep_anymagic() to handle more
file formats. we remove vax1k_subr.c because we now use the
standard vmcmd_readvn function.
XXX: suspect the code for MID_VAX1K NMAGIC binaries is wrong,
need a binary to confirm this... the old code did not pad the
end of the text segment to a page boundary, and that seems wrong.
you definitely need to pad it on a 4.3BSD NMAGIC binary and i
don't see why MID_VAX1K should be different?
To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/compat/vax1k/files.vax1k
cvs rdiff -r1.2 -r1.3 syssrc/sys/compat/vax1k/vax1k_exec.c
cvs rdiff -r1.6 -r0 syssrc/sys/compat/vax1k/vax1k_subr.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.