MentOS
0.8.0
The Mentoring Operating System
|
List of numeric defines which identify segment entries types. More...
Macros | |
#define | PT_NULL 0 |
Unused. | |
#define | PT_LOAD 1 |
Specifies a loadable segment, described by p_filesz and p_memsz. The bytes from the file are mapped to the beginning of the memory segment. If the segment's memory size (p_memsz) is larger than the file size (p_filesz), the extra bytes are defined to hold the value 0 and to follow the segment's initialized area. The file size can not be larger than the memory size. Loadable segment entries in the program header table appear in ascending order, sorted on the p_vaddr member. | |
#define | PT_DYNAMIC 2 |
Specifies dynamic linking information. | |
#define | PT_INTERP 3 |
Specifies the location and size of a null-terminated path name to invoke as an interpreter. This segment type is mandatory for dynamic executable files and can occur in shared objects. It cannot occur more than once in a file. This type, if present, it must precede any loadable segment entry. | |
#define | PT_NOTE 4 |
Specifies the location and size of auxiliary information. | |
#define | PT_SHLIB 5 |
Reserved but has unspecified semantics. | |
#define | PT_PHDR 6 |
Specifies the location and size of the program header table itself, both in the file and in the memory image of the program. This segment type cannot occur more than once in a file. Moreover, it can occur only if the program header table is part of the memory image of the program. This type, if present, must precede any loadable segment entry. | |
#define | PT_EH_FRAME 0x6474E550 |
Section for supporting exception handling routines. More... | |
#define | PT_GNU_STACK 0x6474E551 |
Is a program header which tells the system how to control the stack when the ELF is loaded into memory. | |
#define | PT_GNU_RELRO 0x6474E552 |
This segment indicates the memory region which should be made Read-Only after relocation is done. This segment usually appears in a dynamic link library and it contains .ctors, .dtors, .dynamic, .got s ections. See paragraph below. | |
#define | PT_LOPROC 0x70000000 |
TODO: Document. | |
#define | PT_HIPROC 0x7FFFFFFF |
TODO: Document. | |
List of numeric defines which identify segment entries types.
#define PT_EH_FRAME 0x6474E550 |
Section for supporting exception handling routines.
The .eh_frame section has the same structure with .debug_frame, which follows DWARF format. It represents the table that describes how to set registers to restore the previous call frame at runtime.