Power Point Presentation on Linker and Locater . 5 Slides. Download
Linker and Locater
The next Software Development tool in embedded System is a Linker.
The linker is a computer program that links or combines all the function and files required by the object code and convert object code to executable code/program
The linker give errors if the file or function that has to be linked, does not exist .
Example : GNU ID
B. Functions Performed by Linker
Linker can take objects from collections called as library.
The Linkers also take care of arranging the object in a program address space.
It performs complex function of linking.
Locator is used to load the program in ROM.
Input to the locator will be .hex file (generated by Linker) and output from the locator will be ROM Image.
It uses memory information to assign physical address to code
It produces output file that contains binary memory image which can be loaded into memory.