What is the difference between executable and relocatable in elf format?

前端 未结 4 1731
醉话见心
醉话见心 2021-02-01 20:33

What is the difference between executable file in elf format and relocatable file in elf format?

4条回答
  •  半阙折子戏
    2021-02-01 21:15

    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.

    Freescale SC100 development tools example diagram

提交回复
热议问题