|
|
#define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ | #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ |
#define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ | #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ |
#define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ | #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ |
|
#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */ |
#define PT_LOSUNW 0x6ffffffa | #define PT_LOSUNW 0x6ffffffa |
#define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ | #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ |
#define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ | #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ |
|
|
| |
if (phdr->p_type >= PT_NUM && phdr->p_type != PT_GNU_EH_FRAME | if (phdr->p_type >= PT_NUM && phdr->p_type != PT_GNU_EH_FRAME |
&& phdr->p_type != PT_GNU_STACK && phdr->p_type != PT_GNU_RELRO | && phdr->p_type != PT_GNU_STACK && phdr->p_type != PT_GNU_RELRO |
|
&& phdr->p_type != PT_PAX_FLAGS |
/* Check for a known machine-specific type. */ | /* Check for a known machine-specific type. */ |
&& ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL) | && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL) |
ERROR (gettext ("\ | ERROR (gettext ("\ |