>I'm part time fixing some bugs in Nexenta, and I have for a second time 
>hit the bug, where library libA.so has been linked against some other 
>shared library libB.so and some symbols were incorrectly resolved to be 
>at absolute address 0x0. Note that I'm talking about symbols 
>representing regular functions like pthread_create, dlopen, ...

>While investigating this, I could see that on Solaris, some symbols in 
>some libraries are deliberately put at the address 0x0, and since this 
>happens in libraries like libc.so, libpthread.so, I don't believe it is 
>a bug.

Correct.

>I'm just curious why this happens, what these symbols mean, and what are 
>they used for. Seems that GNU ld is picking them up in situations where 
>it shouldn't be, and I would like to reproduce a test case where ld can 
>deliberately exhibit this bug.


These symbols are "filter" symbols; they live in different libraries.

libc is a "filter" of libdl.so; this means it also exports a view on
the symbols found in libdl.so.

Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to