From owner-freebsd-chat Tue Sep 15 12:28:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12828 for freebsd-chat-outgoing; Tue, 15 Sep 1998 12:28:21 -0700 (PDT) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12786 for ; Tue, 15 Sep 1998 12:28:18 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.1/8.8.8) with ESMTP id MAA00494; Tue, 15 Sep 1998 12:33:15 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199809151933.MAA00494@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Yoav Cohen-Sivan cc: freebsd-chat@FreeBSD.ORG Subject: Re: Info on link-editing In-reply-to: Your message of "Tue, 15 Sep 1998 18:31:03 +0300." <35FE8837.E24C5AA1@netvision.net.il> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 Sep 1998 12:33:15 -0700 From: Mike Smith Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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. > > I've searched using every web engine I know of to no avail... There is a reasonably succinct description of the FreeBSD a.out shared library implementation in the link(5) manpage, which is well worth reading even if it is a little historic now. 8) The ELF documentation (which we should have a link to somewhere) should cover the datastructures and processes related to ELF, from which you can also learn a lot. Aside from that, this is one of those journeyman topics that traditionally one researches with source code and experimentation. I doubt that many CS compiler courses bother with it. 8) -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message