[PATCH] Limited export of dynamic syms (elf32)

H . J . Lu hjl@lucon.org
Mon Aug 20 09:18:00 GMT 2001


On Mon, Aug 20, 2001 at 10:20:01AM +0200, Eirik Byrkjeflot Anonsen wrote:
> 
> I've tested it on a shared library with ld 2.9.5, and the symbols bound
> to "local:" seems to disappear from the dynamic symbol table.  I'll
> have to do some more testing to be absolutely sure, but it looks
> promising.

Please don't use ld 2.9.5 as a reference linker. All kinds of bugs have
been fixed since 2.9.5.

> 
> Maybe it would be a good idea to add
> @cindex limiting export of dynamic symbols
> or something like that to the @node VERSION in ld.texinfo.
> That might make it possible to discover that the ability is there.

I added some doc for that. Please check out the current binutils. All
the features of symbol versioning are documented there.


H.J.



More information about the Binutils mailing list