Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Apr 2008 23:21:20 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        emily.bckr@gmail.com
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: symbol table
Message-ID:  <20080420.232120.320085198.imp@bsdimp.com>
In-Reply-To: <5124a9390804200202h535112dcx4005e9df6e5e0f5e@mail.gmail.com>
References:  <5124a9390804200202h535112dcx4005e9df6e5e0f5e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <5124a9390804200202h535112dcx4005e9df6e5e0f5e@mail.gmail.com>
            "emily becker" <emily.bckr@gmail.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080420.232120.320085198.imp>