DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(as.info) Visibility

Info Catalog (as.info) Val (as.info) Pseudo Ops (as.info) Uleb128
 
 `.internal', `.hidden', `.protected'
 ====================================
 
    These directives can be used to set the visibility of a specified
 symbol.  By default a symbol's visibility is set by its binding (local,
 global or weak), but these directives can be used to override that.
 
    A visibility of `protected' means that any references to the symbol
 from within the component that defines the symbol must be resolved to
 the definition in that component, even if a definition in another
 component would normally preempt this.
 
    A visibility of `hidden' means that the symbol is not visible to
 other components.  Such a symbol is always considered to be protected
 as well.
 
    A visibility of `internal' is the same as a visibility of `hidden',
 except that some extra, processor specific processing must also be
 performed upon the symbol.
 
    For ELF targets, the directives are used like this:
 
      .internal NAME
      .hidden NAME
      .protected NAME
 
Info Catalog (as.info) Val (as.info) Pseudo Ops (as.info) Uleb128
automatically generated byinfo2html