Re: [uClinux-dev] elf2flt error

From: David McCullough (davidm@lineo.com)
Date: Sun Apr 22 2001 - 20:17:39 EDT


Jivin Deepak Shenoy lays it down ...
> Hi,
> 
> When I run elf2flt on a MIPS binary I get the following error, any pointers?
> 
> TEXT -> vma=0 len=15d0
>         lma=0 clen=15d0 oo=0 ap=4 fp=e0
> DATA -> vma=0 len=f0
>         lma=0 clen=f0 oo=0 ap=4 fp=1920
> ERROR: text=15d0 overlaps data=0 ?

The linker script you are using (or not using as the case may be) is not
aligning the sections correctly.  You need to call the linker with the '-T'
option to use the linker file.

I have attached the one I'm using on m68k-elf.  It is generic and
should work fine for mips.

Cheers,
Davidm

-- 
David McCullough:  Ph: +61 7 3435 2815  Lineo (The Embedded Solutions Company)
davidm@lineo.com   Fx: +61 7 3891 3630  PO Box 925, Kenmore QLD 4069, Australia


This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/

This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:41 EDT