Subject: Re: When is ELF coming?
To: None <frank@fwi.uva.nl>
From: Ian Lance Taylor <ian@cygnus.com>
List: tech-kern
Date: 11/25/1996 11:14:09
Date: Sun, 24 Nov 1996 12:15:29 +0100 (MET)
From: frank@fwi.uva.nl (Frank van der Linden)
Unfortunately, you're currently pretty much stuck doing this. It's
a bad way of doing things, the path to the interpreter effectively
functions as an OS identification. Linux has the following in the kernel
sources:
As far as I can see, it is not necessary to check the dynamic
interpreter in the kernel. Instead, the dynamic interpreter for a
particular OS emulation can use a different library search path, and
use a library which is correct for the system being emulated. If
necessary, a special kernel call can be used to set the emulation mode
of the process.
Ian