From owner-freebsd-hackers Sun Nov 19 06:25:29 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA04245 for hackers-outgoing; Sun, 19 Nov 1995 06:25:29 -0800 Received: from cls.net (freeside.cls.de [192.129.50.1]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id GAA04239 for ; Sun, 19 Nov 1995 06:25:26 -0800 Received: by mail.cls.net (Smail3.1.29.1) from allegro.lemis.de (192.109.197.134) with smtp id ; Sun, 19 Nov 95 14:25 GMT From: grog@lemis.de (Greg Lehey) Organisation: LEMIS, Schellnhausen 2, 36325 Feldatal, Germany Phone: +49-6637-919123 Fax: +49-6637-919122 Reply-To: grog@lemis.de (Greg Lehey) Received: (grog@localhost) by allegro.lemis.de (8.6.9/8.6.9) id PAA00236; Sun, 19 Nov 1995 15:05:49 +0100 Message-Id: <199511191405.PAA00236@allegro.lemis.de> Subject: Re: elm problem - "solved" To: terry@lambert.org (Terry Lambert) Date: Sun, 19 Nov 1995 15:05:48 +0100 (MET) Cc: hackers@freebsd.org (FreeBSD Hackers) In-Reply-To: <199511182128.OAA09626@phaeton.artisoft.com> from "Terry Lambert" at Nov 18, 95 02:28:36 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 671 Sender: owner-hackers@freebsd.org Precedence: bulk Terry Lambert writes: > > > > Why not use an aternate call table ala execution class for ABI support > > > for IBCS2, Linux, etc.? > > > > How are you going to distinguish between the objects? In the case of > > ibcs2 and Linux, the object files have different magic. Not so in the > > case of old BSD objects. > > By the crt0.o instruction differences for getenv(), and for BSDI, for > dlopen. > > Yes, I know this is voodoo, but it will work. The magic number just > got bigger is all. It's not voodoo, it's grotesque. Every time you change crt0.o, you need to change your object file recognition routines? What do you do if you're playing with crt0.o? Greg