Abort if PT_GNU_RELRO segment doesn't fit in PT_LOAD segment
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Jun 2012 12:55:11 +0000 (12:55 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 12 Jun 2012 12:55:11 +0000 (12:55 +0000)
commit8981c88a1e028446400c393b82fc415481cc07c3
tree10163bc54bc36feb19f6c226119c02af03020baa
parent3832a4d892b209ca17c5320a506c5902da63e025
Abort if PT_GNU_RELRO segment doesn't fit in PT_LOAD segment

bfd/

PR bfd/14207
* elf.c (assign_file_positions_for_non_load_sections): Abort if
PT_GNU_RELRO segment doesn't fit in PT_LOAD segment.

ld/testsuite/

PR ld/14207
* ld-x86-64/x86-64.exp: Run pr14207.

* ld-x86-64/pr14207.d: New file.
* ld-x86-64/pr14207.s: Likewise.
bfd/ChangeLog
bfd/elf.c
ld/testsuite/ChangeLog
ld/testsuite/ld-x86-64/pr14207.d [new file with mode: 0644]
ld/testsuite/ld-x86-64/pr14207.s [new file with mode: 0644]
ld/testsuite/ld-x86-64/x86-64.exp