This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


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

Re: __private_extern__


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


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