__private_extern__

Andreas Jaeger aj@suse.de
Fri Aug 17 07:21:00 GMT 2001


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,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Binutils mailing list