Check p_paddr for program header space
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 20 Jul 2016 14:50:42 +0000 (07:50 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 20 Jul 2016 14:50:56 +0000 (07:50 -0700)
commit9ab8247228844bb6608d6b2c99b6d8732bab08c1
treede829dde6a7a8e3baee15ac1042cdf3370bb95e4
parent027d97f8b0193a8113ee60bafc686d45d0af59ee
Check p_paddr for program header space

Issue an error if p_paddr becomes invalid when allocating space for
program headers.

PR ld/20376
* elf.c (assign_file_positions_for_load_sections): Also check
p_paddr for program header space.
bfd/elf.c
ld/ChangeLog