symbol table

M. Warner Losh imp at bsdimp.com
Mon Apr 21 05:23:33 UTC 2008


In message: <5124a9390804200202h535112dcx4005e9df6e5e0f5e at mail.gmail.com>
            "emily becker" <emily.bckr at 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


More information about the freebsd-hackers mailing list