Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 1995 15:05:48 +0100 (MET)
From:      grog@lemis.de (Greg Lehey)
To:        terry@lambert.org (Terry Lambert)
Cc:        hackers@freebsd.org (FreeBSD Hackers)
Subject:   Re: elm problem - "solved"
Message-ID:  <199511191405.PAA00236@allegro.lemis.de>
In-Reply-To: <199511182128.OAA09626@phaeton.artisoft.com> from "Terry Lambert" at Nov 18, 95 02:28:36 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511191405.PAA00236>