Set output maxpagesize when rewriting program header
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 21 Nov 2012 21:31:18 +0000 (21:31 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 21 Nov 2012 21:31:18 +0000 (21:31 +0000)
commitf1d85785136b9335f837775031f4dba0124462db
treea06b890a356e440d206c0d3631ecb3af27bc51d2
parenta3f548ed8589b815eb5141825c73d3871d0d1786
Set output maxpagesize when rewriting program header

bfd/

PR binutils/14493
* elf.c (copy_elf_program_header): When rewriting program
header, set the output maxpagesize to the maximum alignment
of input PT_LOAD segments.

2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>

PR binutils/14493
* ld-elf/maxpage5.d: New file.
* ld-elf/maxpage5.s: Likewise.
* ld-elf/maxpage5.t: Likewise.
bfd/ChangeLog
bfd/elf.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/maxpage5.d [new file with mode: 0644]
ld/testsuite/ld-elf/maxpage5.s [new file with mode: 0644]
ld/testsuite/ld-elf/maxpage5.t [new file with mode: 0644]