What is the difference between the map file generated by the linker and the linker file that contains the memory segments itself ?
Asked
Active
Viewed 655 times
3
-
As far as I know they're the same. ("Linker Map File"). Do you mean the object-files generated by the compiler before linking? – Dai Feb 05 '18 at 00:31
-
hey thanks ,no I mean linker generates 2 files , the exe file and map file , I just dont know what is the use of the map file – Khalid Enany Feb 05 '18 at 00:43
1 Answers
2
the 'linker' file is a set of commands to the linker as to how everything is to be laid out in memory and is created by the programmer.
The 'map' file is a listing of where everything is located in memory and is created by the linker.

user3629249
- 16,402
- 1
- 16
- 17