diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-03-31 00:09:24 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-03-31 00:09:24 +0100 |
commit | e39aefc4054c64d74ff8ca6c30dc8f2d54a46ab3 (patch) | |
tree | 4afe410c4403de553e059c450e52c5a6f31acbb3 /dev-libs/elfutils/files | |
parent | sys-apps/flashrom: remove old unstable ebuilds (diff) | |
download | gentoo-e39aefc4054c64d74ff8ca6c30dc8f2d54a46ab3.tar.gz gentoo-e39aefc4054c64d74ff8ca6c30dc8f2d54a46ab3.tar.bz2 gentoo-e39aefc4054c64d74ff8ca6c30dc8f2d54a46ab3.zip |
dev-libs/elfutils: bump up to 0.179
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-libs/elfutils/files')
-rw-r--r-- | dev-libs/elfutils/files/elfutils-0.179-PaX-support.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/dev-libs/elfutils/files/elfutils-0.179-PaX-support.patch b/dev-libs/elfutils/files/elfutils-0.179-PaX-support.patch new file mode 100644 index 000000000000..5246d1ad9fc6 --- /dev/null +++ b/dev-libs/elfutils/files/elfutils-0.179-PaX-support.patch @@ -0,0 +1,26 @@ +Add support for PaX ELF markings + +Patch by Kevin F. Quinn <kevquinn@gentoo.org> + +http://bugs.gentoo.org/115100 + +--- a/libelf/elf.h ++++ b/libelf/elf.h +@@ -721,6 +721,7 @@ typedef struct + #define PT_GNU_EH_FRAME 0x6474e550 /* GCC .eh_frame_hdr segment */ + #define PT_GNU_STACK 0x6474e551 /* Indicates stack executability */ + #define PT_GNU_RELRO 0x6474e552 /* Read-only after relocation */ ++#define PT_PAX_FLAGS 0x65041580 /* Indicates PaX flag markings */ + #define PT_LOSUNW 0x6ffffffa + #define PT_SUNWBSS 0x6ffffffa /* Sun Specific segment */ + #define PT_SUNWSTACK 0x6ffffffb /* Stack segment */ +--- a/src/elflint.c ++++ b/src/elflint.c +@@ -4493,6 +4493,7 @@ only executables, shared objects, and core files can have program headers\n")); + + 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_PAX_FLAGS + && phdr->p_type != PT_GNU_PROPERTY + /* Check for a known machine-specific type. */ + && ebl_segment_type_name (ebl, phdr->p_type, NULL, 0) == NULL) |