How to tell where a symbol is satisfied from.

Jakub Jelinek jakub at redhat.com
Wed Dec 27 09:18:29 UTC 2006


On Wed, Dec 27, 2006 at 12:24:59AM -0800, Ulrich Drepper wrote:
> Reg Clemens wrote:
> >How do I find out where this symbol is defined???
> 
> env LD_DEBUG=bindings ./a.out
> 
> Note that this does not work for prelinked binaries since they don't 
> perform relocations.

You can use
LD_DEBUG=bindings LD_USE_LOAD_BIAS=0 ./a.out
for prelinked binaries, then the libraries (very likely) are not mapped
at the prelink chosen addresses and so relocations are performed.

	Jakub




More information about the fedora-list mailing list