From owner-freebsd-chat Wed Sep 16 12:07:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12505 for freebsd-chat-outgoing; Wed, 16 Sep 1998 12:07:41 -0700 (PDT) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12468 for ; Wed, 16 Sep 1998 12:07:25 -0700 (PDT) (envelope-from dag-erli@ifi.uio.no) Received: from skejdbrimir.ifi.uio.no (2602@skejdbrimir.ifi.uio.no [129.240.65.2]) by ifi.uio.no (8.8.8/8.8.7/ifi0.2) with SMTP id VAA23433; Wed, 16 Sep 1998 21:06:50 +0200 (MET DST) Received: from localhost (dag-erli@localhost) by skejdbrimir.ifi.uio.no ; Wed, 16 Sep 1998 19:06:46 GMT Mime-Version: 1.0 To: Brett Glass Cc: Yoav Cohen-Sivan , freebsd-chat@FreeBSD.ORG Subject: Re: Info on link-editing References: <35FE8837.E24C5AA1@netvision.net.il> <199809161807.MAA03821@lariat.lariat.org> Organization: University of Oslo, Department of Informatics X-url: http://www.stud.ifi.uio.no/~dag-erli/ X-other-addresses: 'finger dag-erli@ifi.uio.no' for a list X-disclaimer-1: The views expressed in this article are mine alone, and do X-disclaimer-2: not necessarily coincide with those of any organisation or X-disclaimer-3: company with which I am or have been affiliated. X-Stop-Spam: http://www.cauce.org/ From: dag-erli@ifi.uio.no (Dag-Erling =?iso-8859-1?Q?Co=EFdan?= =?iso-8859-1?Q?Sm=F8rgrav?= ) Date: 16 Sep 1998 21:06:43 +0200 In-Reply-To: Brett Glass's message of "Wed, 16 Sep 1998 12:06:24 -0600" Message-ID: Lines: 20 X-Mailer: Gnus v5.5/Emacs 19.34 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.freebsd.org id MAA12480 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brett Glass writes: > At 07:39 PM 9/15/98 +0200, Dag-Erling CoïdanSmørgrav wrote: > > Yoav Cohen-Sivan writes: > > > Can anyone point me to a good in-depth discussion of the link-editing and > > > loading processes? I am looking for info on how the linker and compiler use > > > symbols and relocations to generate the various object files. > > Use The Source, Luke! > There should be some documentation for the binary and object formats > independent of the source if it's to be anything like a "standard." > One shouldn't have to look through the linker, AND the loader, AND > the GNU C Compiler (which, in fact, you CAN'T look through unless > you want your work to come under the nasty GPL). Yup. Should have used a smiley. But as others have pointed out, though there is plenty of info available about the Elf binary format, the linking process itself is not as well documented except in the source. DES -- Dag-Erling Smørgrav - dag-erli@ifi.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message