Load time may be reduced because the shared library code may already be in memory. Performance may be improved because fewer page faults will be generated when the shared library code is already in memory. However, there is a performance cost in calls to shared library routines of one to eight instructions. The symbols defined in the shared library code that are to be made available to referencing modules must be explicitly exported using an exports file, unless the -bexpall options is used. The first line of the file optionally contains the path name of the shared library.
Subsequent lines contain the symbols to be exported.
Related Information Creating a Shared Library . The ar command, as command, cc command, ld command. The load subroutine, loadquery subroutine, loadbind subroutine, unload subroutine.