8.12.5.1.2 ELF Symbol Visibility
GLOBAL/WEAK symbols can have any of the following visibility attributes:
- STV_DEFAULT
- Symbol definition is visible outside the defining component.
- Symbol definition can be preempted.
- Symbol references can be resolved by definition outside the referenced component.
- STV_PROTECTED
- Symbol definition is visible outside the defining component.
- Symbol definition cannot be preempted.
- Symbol reference must be resolved by a definition in the same component.
- STV_HIDDEN
- Symbol definition is not visible outside its own component.
- Symbol reference must be resolved by a definition in the same component.