Date: Wed, 8 Nov 1995 00:26:23 +0000 () From: Michael Smith <msmith@atrad.adelaide.edu.au> To: sos@FreeBSD.ORG Cc: hackers@FreeBSD.ORG Subject: Re: Linux emul, QMAGIC libs Message-ID: <199511080026.AAA05119@genesis.atrad.adelaide.edu.au> In-Reply-To: <199511071339.FAA18576@freefall.freebsd.org> from "sos@FreeBSD.ORG" at Nov 7, 95 05:39:59 am
next in thread | previous in thread | raw e-mail | index | archive | help
sos@FreeBSD.ORG stands accused of saying: > > 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 ?? Backwards was the wrong word to use (thinko on my part), the discrepancy is simpler than that : Linux code (both imgact and uselib) say : ZMAGIC(0413): virtual_offset = 0, file_offset = 1024 QMAGIC(0314): virtual_offset = 4096, file_offset = 0 FreeBSD imgact says : ZMAGIC(0413): virtual_offset = 0, file_offset = 4096 QMAGIC(0314): virtual_offset = 4096, file_offset = 0 Is this simply a case of Linux being "close but not quite"? > 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) Linux ZMAGIC shlibs work fine; but if either ld.so or the library are QMAGIC, everything falls apart. I'm really enthused about this at the moment, as if we can sort these wrinkles out, we (our organisation) stand to save _lots_ of money, and use lots more FreeBSD machines 8) If there's anything I can do to help, please let me know; your work has already been immensely useful to us! > Soren Schmidt (sos@FreeBSD.org) FreeBSD Core Team -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 041-122-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] My car has "demand start" -Terry Lambert UNIX: live FreeBSD or die! [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511080026.AAA05119>