1 --- elfutils-0.115/src/elflint.c.orig 2005-10-31 19:29:49.455859000 +0100
2 +++ elfutils-0.115/src/elflint.c 2005-10-31 22:40:58.172349544 +0100
5 if (phdr->p_type >= PT_NUM && phdr->p_type != PT_GNU_EH_FRAME
6 && phdr->p_type != PT_GNU_STACK && phdr->p_type != PT_GNU_RELRO
7 + && phdr->p_type != PT_PAX_FLAGS
8 /* Check for a known machine-specific type. */
9 && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL)
11 --- elfutils-0.115/libelf/elf.h.orig 2005-08-07 09:53:25.000000000 +0200
12 +++ elfutils-0.115/libelf/elf.h 2005-10-31 22:39:47.125150360 +0100
14 #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
15 #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
16 #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
17 +#define PT_PAX_FLAGS 0x65041580 /* PaX flags */
18 #define PT_LOSUNW 0x6ffffffa
19 #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
20 #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */
21 --- elfutils-0.115/libebl/eblsegmenttypename.c.orig 2005-07-26 07:01:10.000000000 +0200
22 +++ elfutils-0.115/libebl/eblsegmenttypename.c 2005-10-31 22:40:18.018453864 +0100
25 else if (segment == PT_GNU_RELRO)
27 + else if (segment == PT_PAX_FLAGS)
29 else if (segment == PT_SUNWBSS)
31 else if (segment == PT_SUNWSTACK)