pax-utils.eclass: do not attempt to create/convert a PT_PAX_FLAGS program header
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 27 Aug 2016 00:02:44 +0000 (20:02 -0400)
committerAnthony G. Basile <blueness@gentoo.org>
Sat, 27 Aug 2016 23:17:45 +0000 (19:17 -0400)
commit5bd65cd07e1d72c1a5e3cb12453ac2077425842e
tree49f252cc02b68a56c49ab2bcae409d49382d1523
parent21f6c36ca2882727aa9e131989adf5a671d57a0b
pax-utils.eclass: do not attempt to create/convert a PT_PAX_FLAGS program header

Support for the creation of PT_PAX_FLAGS program headers in ELF objects is being
dropped in >=sys-devel/binutils-2.26.1.  Running paxctl -C or -c either to create
a PT_PAX_FLAGS header or to convert a PT_GNU_STACK header on such ELF objects
results in broken executables.  For backwards compatibility we continue to support
PT_PAX_FLAGS markings with paxctl but remove these unsafe methods from the eclass.

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=590422
eclass/pax-utils.eclass