Shared library question

H . J . Lu hjl@lucon.org
Wed Jun 19 07:08:00 GMT 2002


On Wed, Jun 19, 2002 at 05:58:06PM +0400, Zagorodnev, Grigory wrote:
> 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.

You didn't say if you could rebuild the shared library from source.


H.J.



More information about the Binutils mailing list