Subject: Re: compat_nomid
To: None <wiz@danbala.ifoer.tuwien.ac.at>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 01/06/2003 22:49:20
In article <20030105131723.GN22238@danbala.tuwien.ac.at>
wiz@danbala.ifoer.tuwien.ac.at wrote:

> > If there is no such old binaries that require COMPAT_NOMID,
> > it could be removed, I think.
> 
> This seems like it should only be there for hp300, or is
> it perhaps needed for m68k-binary compatibility across
> different machines?

COMPAT_NOMID (i.e. old ZMAGIC support) was introduced in August 1993
from i386, and I guess only hp300 was a functional m68k port at that time.
If COMPAT_NOMID is also required for old hp300 binaries, all m68k ports
should have it. (But such old binaries also require COMPAT_M68K4K??)
I don't know if hp300 had "a.out(5) executables that lack a machine ID,"
but anyway COMPAT_NOMID should be MACHINE_ARCH specific.

Maybe we should share cpu_exec_aout_makecmds() among all m68k ports.
(in m68k/m68k_machdep.c or elsewhere like mips/cpu_exec.c)
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp