1 Matching Annotations
- Mar 2022
-
www.cs.cmu.edu www.cs.cmu.edu
-
● Symbol resolution○ Programs define and reference symbols (global variables and functions)○ Linker associates each symbol reference with exactly 1 symbol definition● Relocation○ Merges separate code and data sections into single sections○ Relocates symbols from relative locations in .o files to final memory locations○ Updates all references to symbols to reflect new positions
linker 到底做了什么?
-