[PATCH] program header instability

Alan Modra amodra@bigpond.net.au
Mon Jan 1 10:28:00 GMT 2007


On Wed, Dec 27, 2006 at 04:59:56PM +0000, Nathan Sidwell wrote:
> 	* bfd/elf.c (assign_file_positions_for_load_sections): We can
> 	require fewer phdrs than expected.
> 
> 	* ld/emultempl/elf-generic.em (gdl_map_segments): Only allow header
> 	shrinkage for the first few iterations.

OK.

> 	* ld/testsuite/ld-elf/header.d: New.
> 	* ld/testsuite/ld-elf/header.t: New.
> 	* ld/testsuite/ld-elf/header.s: New.

This fails on 64-bit targets.  I'll preapprove any necessary tweaks to
make the test pass on at least powerpc64-linux and x86_64-linux.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list