This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Will register window mechanism slow down the execution of ecos program for SPARC?


"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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]