[ECOS] Linker script question? where is the fixed_vectors section?ARM

Qiang Huang jameshq@liverpool.ac.uk
Fri Jan 24 11:00:00 GMT 2003


Thank you.
So Can I guess  that the fixed_vector(with initialzation values set to zero)
works the way like the .bss section?


-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com]On Behalf Of Jonathan Larmour
Sent: 24 January 2003 06:59
To: Gary D. Thomas
Cc: Qiang Huang; eCos Discussion
Subject: Re: [ECOS] Linker script question? where is the fixed_vectors
section?ARM


Gary D. Thomas wrote:
>
> The fixed_vectors, along with any static data, will be stored in the
> ROM image just after the end of the TEXT segment.  If you look at any
> ROM startup code, you'll see that it has to move this data from the
> actual ROM space to the appropriate place in RAM before the system
> can begin.

Not quite right. It doesn't have the LOAD attribute, so the space is
reserved in the linker's memory map, but nothing actually appears in the
ROM image.

Jifl
--
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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


-- 
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