TLDR Tech / Practical
Understanding shared libraries and ABI stability
This technical document explores the creation of shared libraries and the maintenance of Application Binary Interface (ABI) stability. It contrasts the older Linux a.out format with the current Executable Linkage Format (ELF). The author explains how shared libraries reduce system resource usage through runtime code sharing and details the processes involved in program startup within the kernel and dynamic linker, including segment mapping and symbol relocation.
Read the full story