This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [PATCH] Fix ld/ld-elfvsb testsuite
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Cc: binutils at sources dot redhat dot com
- Date: Sun, 1 Aug 2004 19:49:43 +0200
- Subject: Re: [PATCH] Fix ld/ld-elfvsb testsuite
- References: <20040801200144.GZ965@rembrandt.csv.ica.uni-stuttgart.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Sun, Aug 01, 2004 at 10:01:44PM +0200, Thiemo Seufer wrote:
> Hello All,
>
> the ld/ld-elfvsb testsuite fails for mips-linux in some cases because
> the linker fails now with an error if PT_DYNAMIC doesn't start with the
> .dynamic section.
> http://sources.redhat.com/ml/binutils/2004-07/msg00115.html
> http://sources.redhat.com/ml/binutils/2004-06/msg00444.html
>
> Is it ok to just move .dynamic upwards in the linker script?
No, with the exception of mips all arches have writable .dynamic section,
so putting it into the read-only segment is certainly a bad idea.
Jakub