Static Linking
- Takes as input a collection of Relocatable Object Files and cmd args to generate a fully linked Executable Object Files
- Relocatable Object Files consist of various codes and data section where each section is a contiguous sequence of bytes.
- A linker has 2 main job when making an executable
- Symbol Resolution: Associating each symbol reference to exactly ONE symbol definition. See about symbols in Symbols and Symbol Tables. But object files usually define or reference bunch of symbols which corresponds to global functions, variable or static variable.
- Relocation