Am Donnerstag, 13. Dezember 2007 03:02 schrieb Mei Xu:

Hello,

> Hello,
>
> When I used elf2flt tool, I got an error message:
>
>       ERROR: text=0x63c0 + data=0x746c overlaps bss=0x7550 ?
>
> I checked the ELF file sections, and it looked like this:
>
>       Name            Size            VMA             LMA             File
> off
>       .text           000063c0        00000000        00000000
> 00000040
>       .data           00001170        000063c0        000063c0
> 00006400
>       .bss            000062d0        00007530        00007530
> 00007570
>
> These sections are allocated in the memory space in sequence. I don't
> understand why the addresses of .text and .data need to be added to compare
> with .bss. It should add up the sizes instead, to my understanding.
>
> Also, in the linker script elf2flt.ld,
>
>       .junk 0 : { *.rel*) *(.rela*) }
>
> Gave me this error:
>
>       Section .junk [00000000 -> 0000000b] overlaps section .text
> [00000000 -> 000063bf]
>

This is in fact a direct error.
Regarding to the upper listing .text starts at 0 and junk is defined to start 
at 0, too.
And this generates an overlap.
Did you intend to link a section for final address 0 but put into .text during 
load and moved inside the real system ?
Then you would have to change the loadaddress inside the linker script.

> I suspect that the elf2flt.exe I have has something wrong.
>
> Anyone got the same error before? Please help.
>
> Where can I get the right version of elf2flt.exe? My target is MicroBlaze.
>
> Thank!
>
> Mei Xu
>  
> Impulse Accelerated Technologies, Inc.
> [EMAIL PROTECTED]
> www.ImpulseC.com
> 550 Kirkland Way, Suite 408, Kirkland, WA 98033
> tel: (425) 605-9543 ext. 110
> fax: (425) 605-9544
>

Werner

>
> _______________________________________________
> uClinux-dev mailing list
> [email protected]
> http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
> This message was resent by [email protected]
> To unsubscribe see:
> http://mailman.uclinux.org/mailman/options/uclinux-dev
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to