Gerald Richter wrote:

> This works only if this dependencies are know at link time, but look at the
> source of Dynloader. You can retrieve address of any (public)symbol inside a
> library dynamicly at runtime. Now you have the entry address and can pass it
> around. No linker will ever have a chance to know what you do in your
> programm. As soon as you use such things (and Dynloader uses them), the
> linker doesn't have chance!

Nope, that's not how it works.  Take a look at
http://docs.sun.com:80/ab2/coll.45.10/LLM/@Ab2PageView/5121

*All* symbols in a shared library are known by ld.so

Alan Burlison

Reply via email to