next up previous contents
Next: Script Files Up: ELF Previous: ELF

ELF Shared Libraries

    A dynamically linked image, on the other hand, does not contain all of the code and data required to run. Some of it is held in shared libraries which are linked into the image at run time. The ELF shared library's tables are also used by the dynamic linker when the shared library is linked into the image at run time. Linux uses several dynamic linkers,, and, all to be found in /lib. The libraries contain commonly used code such as language subroutines. Without dynamic linking all programs would need their own copy of the these libraries and would need far more disk space and virtual memory. In dynamic linking, information is included in the ELF image's tables for every library routine referenced. The information indicates to the dynamic linker how to locate the library routine and link it into the program's address space.

ReviewNotesDo I need more detail here, worked example?

David A. Rusling