Linkers and Loaders

These are the manuscript chapters for my Linkers and Loaders, published by Morgan-Kaufman. See the book's web site for ordering information.

The text in these files is the unedited original manuscript. M-K has fine copy editors, who have fixed all the minor typos, spelling, and grammar errors in the printed book, but if you come across factual errors I'd still appreciate help getting all the details of linking and loading as complete and correct as possible. I will collect errata and fix them in subsequent printings.

The figures here are scans of hand-drawn sketches which have been redrawn for the book. You don't need to tell me I'm a lousy artist. I already know that.

Please send comments and questions to


Chapters are available in an excessive variety of formats. The troff source is the original. All the rest are mechanically generated and may have glitches due to coding errors.

Postscript versions of these files are available, including the figure sketches. This makes the postscript files quite large, 5MB apiece for chapters 3 and 4. If you want to download and print them, they're available in GZIP compressed form on my FTP server, along with a table of contents.

NumberTitleTroff source Web pageRTF (Microsoft Word)Figures
1Why do we need linkers and loaders?
2Architectural issues
3Object files
4Storage allocation
5Symbol management
8Loading, overlays
9Shared libraries
10Dynamic linking and loading
11Advanced techniques

John Levine
$Date: 2014/03/27 15:11:16 $