How is the elf
object file in Linux?
1 answer
The object file consists of
1. the header of the file containing the file map
2. tables of titles of programs
3. a set of segments containing the information necessary to build the program
4. a set of sections containing information necessary for program execution
5. section header tables
Files used to execute programs should contain a table of program headers, and files used to build should contain a table of section headers. The order of the segments and sections can be anything.
|