As part of the translation process from a high-level language to a program running in memory, the linker program is responsible for combining assembled object files into a single executable.
It does this by figuring out what instructions go where and resolving memory addresses. For example, if there is a call to a function from object file A to a function in object file B, the linker has to sort this out.
In this video, I walk you through an example of how this is done in the context of a MIPS assembly program.
Негізгі бет Linker Example - How the linker combines object files.
Пікірлер: 20