The linker can automatically import and export symbols. This behavior depends on a combination of the symbol visibility in the input object file, if the output is an executable or a shared library, and if the platform model is System V (SysV). This depends on what type of linking model is being used.
- Other information
SysV ELF specification.