What is the difference between executable file in elf format and relocatable file in elf format?
As it can be seen in the image below, relocatable ELF goes as the input to the linker, whereas the executable ELF is the product of the linker.