]> git.pld-linux.org Git - packages/elfutils.git/blame - elfutils-paxflags.patch
- updated to 0.179
[packages/elfutils.git] / elfutils-paxflags.patch
CommitLineData
3ba9e4f4
JB
1--- elfutils-0.179/src/elflint.c.orig 2020-04-30 19:57:32.691481687 +0200
2+++ elfutils-0.179/src/elflint.c 2020-04-30 19:58:43.287765900 +0200
3@@ -4493,7 +4493,7 @@
9e90505c
JB
4
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
3ba9e4f4
JB
7- && phdr->p_type != PT_GNU_PROPERTY
8+ && phdr->p_type != PT_GNU_PROPERTY && phdr->p_type != PT_PAX_FLAGS
9e90505c
JB
9 /* Check for a known machine-specific type. */
10 && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL)
11 ERROR (gettext ("\
12--- elfutils-0.115/libelf/elf.h.orig 2005-08-07 09:53:25.000000000 +0200
13+++ elfutils-0.115/libelf/elf.h 2005-10-31 22:39:47.125150360 +0100
14@@ -568,6 +568,7 @@
15 #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */
16 #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */
17 #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */
18+#define PT_PAX_FLAGS 0x65041580 /* PaX flags */
19 #define PT_LOSUNW 0x6ffffffa
20 #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */
21 #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */
3ba9e4f4
JB
22--- elfutils-0.179/libebl/eblsegmenttypename.c.orig 2020-04-30 19:57:32.728148155 +0200
23+++ elfutils-0.179/libebl/eblsegmenttypename.c 2020-04-30 19:59:30.120845517 +0200
24@@ -71,6 +71,8 @@
9e90505c 25 res = "GNU_RELRO";
3ba9e4f4
JB
26 else if (segment == PT_GNU_PROPERTY)
27 res = "GNU_PROPERTY";
9e90505c
JB
28+ else if (segment == PT_PAX_FLAGS)
29+ res = "PAX_FLAGS";
30 else if (segment == PT_SUNWBSS)
31 res = "SUNWBSS";
32 else if (segment == PT_SUNWSTACK)
This page took 0.047021 seconds and 4 git commands to generate.