Subject: Re: Linux ELF binaries on current
To: Roland McGrath <roland@frob.com>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-i386
Date: 10/21/1995 15:35:14
On Sat, 21 Oct 1995 13:48:12 -0400 
 Roland McGrath <roland@frob.com> wrote:

 > Linux ELF binaries make a particular system call (SYS_personality,
 > using the Linux int $0x80 convention) first thing.  This is how SVR4
 > and Linux ELF binaries are distinguished on Linux.  The emulation code
 > could grko this and win if someone wanted to bother hacking it.

I guess one might argue that if this were to be emulated "correctly" that 
the exec stuff should try Linux emulation before SVR4 emulation if the 
executable is ELF...

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939