[PATCH] Limited export of dynamic syms (elf32)
H . J . Lu
hjl@lucon.org
Fri Aug 17 08:43:00 GMT 2001
On Fri, Aug 17, 2001 at 08:26:57AM +0200, Eirik Byrkjeflot Anonsen wrote:
> I implemented it because I could not figure out how to avoid
> exporting all symbols from an executable with binutils
> 2.9.5.0.37 (debian stable). I can maintain that version
> internally in Opera until we all got working symbol versioning
> (with executables) on all platforms.
>
> Incidentally, I'm not sure that it is obvious that symbol versioning
> actually can be used to "unexport" symbols. I overlooked it completely
I think you may use symbol versioning to "unexport" symbols on all ELF
targets even if ld.so on those targets don't support symbol versioning.
But I never tried it.
H.J.
More information about the Binutils
mailing list