This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Shared library question
- From: "Zagorodnev, Grigory" <Grigory_Zagorodnev at stl dot sarov dot ru>
- To: "'binutils at sources dot redhat dot com'" <binutils at sources dot redhat dot com>
- Date: Wed, 19 Jun 2002 17:58:06 +0400
- Subject: 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