Allow PT_NOTES segments to be located anywhere in the executable
authorkib <kib@FreeBSD.org>
Wed, 14 Oct 2015 18:29:21 +0000 (18:29 +0000)
committerkib <kib@FreeBSD.org>
Wed, 14 Oct 2015 18:29:21 +0000 (18:29 +0000)
commit93aac33bebffcc094c942e8ef9bf5934f3cab81b
treebb5dfd42ad0b61005a56f19da3a8510ec63eb949
parenta6091af92361b7cb9a9c075590da1ba9c2badaa1
Allow PT_NOTES segments to be located anywhere in the executable
image.

The dynamic linker still requires that program headers of the
executable or dso are mapped by a PT_LOAD segment.

Reviewed by: emaste, jhb
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
Differential revision: https://reviews.freebsd.org/D3871
libexec/rtld-elf/map_object.c