Historical view of linking and loading in AIX

The linker and system loader on AIX are designed so that modules are self contained entities with well defined sets of imported and exported symbols. Symbol resolution is performed at link-time, simplifying the work of the system loader when a module is loaded. The system loader looks up symbols to relocate references, but does not perform symbol resolution. As a result, a shared module and its dependents can be pre-relocated in global memory. Once a set of modules has been pre-relocated, a program using the modules can be loaded more effectively since symbol lookup and relocation in the pre-relocated modules does not have to be performed.

However, there has been several circumstances where the traditional ...

Get Developing and Porting C and C++ Applications on AIX now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.