1And in Conclusion¶
We spent one chapter covering one figure:

Flow chart for steps for compiling and running a C program.
The Compiler converts a single high-level language file into a single assembly language file.
The Assembler removes pseudoinstructions, converts what it can to machine language, creates checklist for the linker (relocation table).
These details are stored in an object file.
The assembler does 2 passes to resolve addresses in the text segment, handling internal references to position-independent code.
The Linker combines several
.ofiles and resolves absolute addresses.The linker enables separate compilation, libraries that need not be compiled, and resolves remaining addresses (more details)
The Loader loads executable into memory and begins execution.
2Textbook Readings¶
P&H 2.12