This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Will register window mechanism slow down the execution of ecos program for SPARC?
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- Cc: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>
- Date: 14 Oct 2002 18:28:31 +0100
- Subject: Re: [ECOS] Will register window mechanism slow down the execution of ecos program for SPARC?
- References: <BDEPKKELILOKGOAOMONOEEFBCAAA.jameshq@liv.ac.uk>
"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