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]

Shared library question


There is a little question about...

I have a shared library contaning some symbol 'foo'. This symbol has no any
version defined.

Is there a way to keep symbol accessible at run-time but hide it at build
time? 
So any application previously built with (linked against) that library stay
workable but any new application will not see this symbol i.e. linker will
not resolve symbol foo from that library.

Changing library name is not applicable. Any tricks are wellcome!

Environment: x86, Red Hat Linux 7.2/7.3

Thanks and regards,
 Grigory Zagorodnev


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