From owner-freebsd-hackers Tue Oct 15 14:39:37 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id OAA10343 for hackers-outgoing; Tue, 15 Oct 1996 14:39:37 -0700 (PDT) Received: from SandBox.CyberCity.dk (disn57.cybercity.dk [194.16.57.57]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id OAA10336; Tue, 15 Oct 1996 14:39:25 -0700 (PDT) Received: (from sos@localhost) by SandBox.CyberCity.dk (8.7.6/8.7.3) id XAA00198; Tue, 15 Oct 1996 23:39:23 +0200 (MET DST) Message-Id: <199610152139.XAA00198@SandBox.CyberCity.dk> Subject: Re: Linux compat issue(s) To: terry@lambert.org (Terry Lambert) Date: Tue, 15 Oct 1996 23:39:23 +0200 (MET DST) From: "Soren Schmidt" Cc: sos@FreeBSD.org, terry@lambert.org, msmith@atrad.adelaide.edu.au, hackers@FreeBSD.org In-Reply-To: <199610152128.OAA01611@phaeton.artisoft.com> from "Terry Lambert" at Oct 15, 96 02:28:03 pm From: sos@FreeBSD.org Reply-to: sos@FreeBSD.org X-Mailer: ELM [version 2.4 PL25 ME8b] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk In reply to Terry Lambert who wrote: > > > How come that took so long Terry ?? > > Heh. Instantly isn't fast enough for you? ;-). Ah it took you several hours :) > > So do we in the dynamically linked case, almost all ELF implemetations > > on the x86 platform use different named/located interpreters. > > It is only the statically linked binaries that is the problem. > > Linux has the same problems we do, they have implemented another=20 > > hack than the one I suggest, just their method isn't very robust > > but they're used to that, right :) > > ELF has a general problem with binary type recognition. Exactly, that my point... > One way would be to steal codes from CPU type and distinguish with > magic number, or vice versa. Hmm, well, yes but that *could* break on other archs then.. > It should also be noted that it's kind of silly to follow the SVR4 > EABI if you don't have the same trap entry points (ie: reallly follow > it). So right, why do we bother with ELF at all, we're no SVR4 (thank god)... -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team Even more code to hack -- will it ever end ..