LMA XXX Overlaps Previous Sections When Using PHDRS

Alan Modra amodra@bigpond.net.au
Tue Dec 25 23:09:00 GMT 2007


On Mon, Dec 24, 2007 at 05:21:06PM +0000, Nick Clifton wrote:
> Hi Anthony,
> 
> >/opt/cross-tools/binutils-2.17-gcc-4.1.1-newlib-1.14.0/lib/gcc/i686-elf/
> >4.1.1/../../../../i686-elf/bin/ld: test.elf: section .section_0 lma
> >0x1000 overlaps previous sections
> 
> This is a bogus error message due to a spurious check in the linker.  

Eh?  I think the error message is correct.  We really do have an error
of some sort here, most likely the linker ignoring phdr "AT" when
assigning section lmas in ldlang.c.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list