格式为
ELF Header
Program Header Table
Sections
Section Header Table
其中
Section header一一对应Sections中的每一个section。
Program Header 可以对应一个或者多个Sections中的section.
An ELF file has two views:
The program header shows the segments used at run-time,
whereas the section header lists the set of sections of the binary.
ELF的格式既可以做linkable的,又可以做executable的。
Program Header用于装载到系统内存中。
Section Header用于在链接的时候使用。