Rajesh Paul wrote:
> Thanks Rod !
> 
> Does the GNU Toolchain also generates this dynamic entry (or a similar kind) 
> in its executable's elf files? 
> If not, Would the rtld still work fine without this Libc interface 
> information ?

This dynamic entry is added to lib.so.1 only.  The OpenSolaris
makefiles pass "-z rtldinfo=tls_rtldinfo" to the final link-edit of
libc.so.1.  ld.so.1 recognizes this dynamic tag, and calls the
associated interfaces at process initialization.

The Solaris process model, threads model, and ld.so.1 interaction
with these models would be crippled without this handshake.

-- 

Rod.

Reply via email to