This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

dlsym on non-exported symbols


Hi,
Shouldn't dlsym fail if it is asked to return the address of a
non-exported symbol from a shared library? (.so)
If not, is there any way to prevent users of a library calling a
not-exported function?
(the lib was created using ld's --retain-symbols-file option. Of
course, the function I'm talking about was not listed in the exports
file).

Pointing to a doc that says why/how to do it would do.

Thanks,
Ionut Ichim


__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]