Am Donnerstag, 13. Dezember 2007 19:50 schrieb Mei Xu:
Hello,
Remove the 0x0 before the 0x0 from the .text section and try again.
The flatmem reference after the closing brace for the memory should be
sufficient.
.text 0x0 : {
to
.text : {
Best regards
Werner
> Hello,
>
> Thanks for your quick response.
>
> The .junk 0 problem is easy to fix.
>
> What about the first error?
>
> > ERROR: text=0x63c0 + data=0x746c overlaps bss=0x7550 ?
>
> I attached the generated LDSCRIPT, can you have a look to see if something
> is wrong with it?
>
> Thanks!
>
> Mei
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Werner Cornelius
> Sent: Thursday, December 13, 2007 1:07 AM
> To: uClinux development list
> Subject: Re: [uClinux-dev] elf2flt errors
>
> 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
_______________________________________________
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