[PATCH] Fix ld/ld-elfvsb testsuite

Jakub Jelinek jakub@redhat.com
Sun Aug 1 20:06:00 GMT 2004


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



More information about the Binutils mailing list