This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] program header instability
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Nathan Sidwell <nathan at codesourcery dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 1 Jan 2007 20:58:26 +1030
- Subject: Re: [PATCH] program header instability
- References: <45880944.5070704@codesourcery.com> <20061223134346.GB4484@bubble.grove.modra.org> <4592A68C.2010004@codesourcery.com>
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