I'm a bit confused with relocation concerning linker and loader. I know that the linker links modules together and that the loader loads them into a place in memory. However if our main program has a subroutine that starts at the same address of the main program, would the linker relocate it? Or would the loader do that?
Thanks in advance.