This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: LMA XXX Overlaps Previous Sections When Using PHDRS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]