[TRUNK PATCH] Support __attribute__((visibility ("hidden"))) (take 2)

Fergus Henderson fjh@cs.mu.OZ.AU
Tue Feb 26 23:19:00 GMT 2002


On 26-Feb-2002, Jakub Jelinek <jakub@redhat.com> wrote:
> 	* doc/extend.texi (Function Attributes): Document visibility
> 	attribute.
...
> +@item visibility ("@var{visibility_type}")
> +@cindex @code{visibility} attribute
> +The @code{visibility} attribute on ELF targets causes the the declaration
> +to be emitted with hidden, protected or internal visibility.

It would be very helpful to explain what effect the different visibility types
have, and/or to give a pointer to some other documentation which explains it.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.



More information about the Gcc-patches mailing list