From owner-freebsd-hackers Tue Nov 7 05:40:01 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA18590 for hackers-outgoing; Tue, 7 Nov 1995 05:40:01 -0800 Received: (from sos@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id FAA18576 ; Tue, 7 Nov 1995 05:39:59 -0800 Message-Id: <199511071339.FAA18576@freefall.freebsd.org> Subject: Re: Linux emul, QMAGIC libs To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Tue, 7 Nov 1995 05:39:59 -0800 (PST) Cc: sos@FreeBSD.ORG, msmith@atrad.adelaide.edu.au, hackers@FreeBSD.ORG In-Reply-To: <199511071153.LAA03932@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Nov 7, 95 11:53:04 am From: sos@FreeBSD.ORG Reply-to: sos@FreeBSD.ORG X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1370 Sender: owner-hackers@FreeBSD.ORG Precedence: bulk In reply to Michael Smith who wrote: > > sos@FreeBSD.ORG stands accused of saying: > >> Linux emulation uses the standard kernel execve, but its own code for shared > >> libraries : > > > > Ahem, no it does not, if the system finds out its a Linux binary it will > > call the linux image activator, not the "standard" one.. > > (Or at least it was so when I originally wrote the code :) ) > > As indeed it is now; I was following the wrong lead 8( > > OK, so, now I have your head out of your hole 8), can you explain why > Linux seems to have the organisation of ZMAGIC and QMAGIC backwards wrt. > the way FreeBSD does it? I'm not sure I understand what you mean by backwards ?? > And any suggestions as to why ld.so has to be ZMAGIC? I presume that > the libraries have to be ZMAGIC because a ZMAGIC ld.so is too old to > understand QMAGIC libraries, or am I off with the fairies here? Hmm, I have to go check the code (both linux & ours) to speculate on this one, my best guess would be that the Linux ZMAGIC shlibs is a bit different than the "normal" ZMAGIC format, and therefore fails (that would also be in the linux spirit: close but not quite) -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team So much code to hack -- so little time.