[Buildroot] bfd lib include Error while build elf2flt
miloody at gmail.com
Wed Jan 28 14:27:21 UTC 2009
2009/1/28 Peter Korsgaard <jacmet at uclibc.org>:
>>>>>> "loody" == loody <miloody at gmail.com> writes:
> loody> do you mean zlib1g-dev?
> loody> I use ubuntu and I have followed the instructions on the
> loody> website,http://docwiki.gumstix.org/Buildroot_on_Ubuntu, to update this
> loody> package as below.
> Could you give svn trunk (after r25086) a try? It builds for me now.
> Bye, Peter Korsgaard
thanks for your suggestion.
it works now.
But would you please tell me how to transform an elf to FLAT?
I googled the web and there are 2 methods seems work.
1. arm-linux-uclibcgnueabi-gcc -Wl,-elf2flt -o hello.flt hello.c
but my toolchain says:
arm-linux-uclibcgnueabi/bin/ld.real: error: no memory region specified
for loadable section `.plt'
collect2: ld returned 1 exit status
2. arm-linux-uclibcgnueabi-elf2flt -v -s 32658 -o hello.flt hello.o
but it says:
TEXT -> vma=0x0 len=0x24
DATA -> vma=0x0 len=0xc
ERROR: text=0x24 overlaps data=0x0 ?
If some successfully use above methods to transform elf to flat,
please let me know.
More information about the buildroot