This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: Minimal GCC/Linux shared lib + EH bug example


On Wed, 15 May 2002, David Abrahams wrote:
> You may not be happy
> with it, but AFAICT on Linux, visibility control is an all-or-nothing
> proposal at each library boundary.

That's not quite true.  GNU binutils support visibility directives
(e.g. .hidden, .protected) for ELF that affect an individual symbol's
linkage.  As I understand it, .hidden symbols behave as ordinary
(non-exported) symbols on win32, and .protected as dllexport.

I'm not aware of any language frontend that makes use of these however.

Jeff


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