Different section of an object file:
1.An ELF header resides at the beginning and holds a ``road map'' describing the file's organization.
2.Sections hold the bulk of object file information for the linking view: instructions, data, symbol table, relocation information, and so on.
3.A program header table tells the system how to create a process image.
4.Files used to build a process image (execute a program) must have a program header table.
5.Re-locatable files do not need one. A section header table contains information describing the file's sections.
6.Every section has an entry in the table, each entry gives information such as the section name, the section size, and so on.
7.Files used during linking must have a section header table; other object files may or may not have one.
1.An ELF header resides at the beginning and holds a ``road map'' describing the file's organization.
2.Sections hold the bulk of object file information for the linking view: instructions, data, symbol table, relocation information, and so on.
3.A program header table tells the system how to create a process image.
4.Files used to build a process image (execute a program) must have a program header table.
5.Re-locatable files do not need one. A section header table contains information describing the file's sections.
6.Every section has an entry in the table, each entry gives information such as the section name, the section size, and so on.
7.Files used during linking must have a section header table; other object files may or may not have one.
Comments
Post a Comment