From owner-freebsd-hackers@FreeBSD.ORG Mon Apr 21 05:23:33 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE36E106564A for ; Mon, 21 Apr 2008 05:23:33 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 5CED38FC14 for ; Mon, 21 Apr 2008 05:23:33 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m3L5KI1W015667; Sun, 20 Apr 2008 23:20:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 20 Apr 2008 23:21:20 -0600 (MDT) Message-Id: <20080420.232120.320085198.imp@bsdimp.com> To: emily.bckr@gmail.com From: "M. Warner Losh" In-Reply-To: <5124a9390804200202h535112dcx4005e9df6e5e0f5e@mail.gmail.com> References: <5124a9390804200202h535112dcx4005e9df6e5e0f5e@mail.gmail.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: symbol table X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Apr 2008 05:23:33 -0000 In message: <5124a9390804200202h535112dcx4005e9df6e5e0f5e@mail.gmail.com> "emily becker" writes: : Hi, : : I have a question about symbol table. : One of the section In symbol table is memory adress which symbol is located. : I wonder if this memory adress is bound at run-time or compile-time? Typically, run-time, but there are exceptions. : if it is compile-time, I don't understand how do we know whether the symbol : is located this adress. The exceptions are for things like 'start' which live at a fixed address by the ELF ABI specification for most processors. Warner