How. is relocation performed by
linker ? Explain with example,
Answers
Answered by
0
Explanation:
Relocation of Linking Concept • Program relocation is the process of modifying the addresses used in the address sensitive instruction of a program such that the program can execute correctly from the designated area of memory. If linked origin≠ translated origin, relocation must be performed by the linker.
example
A linker usually performs relocation in conjunction with symbol resolution, the process of searching files and libraries to replace symbolic references or names of libraries with actual usable addresses in memory before running a program.
Similar questions