PATCH: Properly set the output maxpagesize when rewriting program header

Alan Modra amodra@gmail.com
Wed Nov 21 21:26:00 GMT 2012


On Wed, Nov 21, 2012 at 05:08:30AM -0800, H.J. Lu wrote:
> bfd/
> 
> 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	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.
> 
> ld/testsuite/
> 
> 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.

OK.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list