[ECOS] Will register window mechanism slow down the execution of ecos program for SPARC?

Nick Garnett nickg@ecoscentric.com
Mon Oct 14 10:49:00 GMT 2002


"Qiang Huang" <jameshq@liverpool.ac.uk> writes:

> Thanks Nick for your clear explanation. One thing I still confused about:
> 
> Does all the following section are necessary to be defined in using ecos:
> .fixed_vectors  ;  .rom_vectors;  .text;  .fini;  rodata;  rodata1; (can I
> just only define .rodata not both?);  .fixup(Is this necessary?);
> .gcc_except_table;  .data;  .bss;  .heap1(can I define .heap not heap1??)
> 

It all depends on what the compiler and linker need. The eCos linker
scripts are all derived from the default GCC linker scripts for the
target. Some sections may not get used in all links, but defining all
of them makes the script usable in the future.

It's not as if any unused sections add anything to the final image,
just define them and don't worry about it.


-- 
Nick Garnett - eCos Kernel Architect
http://www.eCosCentric.com/

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list