Hi Deepak [email protected] wrote:
> While compiling and linking hello world program on ecos ported on leon, I get > the following- > > gnutools/sparc-elf-3.4.4/bin/../lib/gcc/sparc-elf/3.4.4/../../../../sparc-elf/bin/ld: > error: no memory region for loadable section '.ram_vectors' > collect2: ld returned 1 exit status > > There are some old threads dedicated to it. My problem is exactly the same > as in the below mentioned thread. > > http://www.sourceware.org/ml/ecos-discuss/2006-05/msg00220.html > > Anybody knows how to fix it? The leon port has not been touched in a long time. It looks like you will need to add a call to SECTION_ram_vectors() in the leon linker script file: hal/sparc/leon/current/include/pkgconf/mlt_sparc_leon_ram.ldi Compare this with the equivalent linker script file for the sleb target: sparclite/sleb/current/include/pkgconf/mlt_sparclite_sleb_ram.ldi Please submit a patch when you get this working. John Dallaway -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
