__private_extern__

Jakub Jelinek jakub@redhat.com
Fri Aug 17 07:34:00 GMT 2001


On Fri, Aug 17, 2001 at 04:17:41PM +0200, Andreas Jaeger wrote:
> Johan Rydberg <johan.rydberg@netinsight.se> writes:
> 
> > Apple have a directive called __private_extern__ in its compiler. 
> > This makes a symbol public in the binrary (e.g., library), but it's 
> > not exported out side of it.  
> >
> > Is there any way I can do the same thing, using GNU CC and GNU ld?
> 
> Use symbol versioning for this,

Or STV_HIDDEN symbols.

	Jakub



More information about the Binutils mailing list