This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Linker script question? where is the fixed_vectors section?ARM
- From: "Qiang Huang" <jameshq at liverpool dot ac dot uk>
- To: "Jonathan Larmour" <jifl at eCosCentric dot com>
- Cc: "Ecos-Discuss" <ecos-discuss at sources dot redhat dot com>,"Thomas, Gary D." <gary dot thomas at mind dot be>
- Date: Fri, 24 Jan 2003 09:35:44 -0000
- Subject: RE: [ECOS] Linker script question? where is the fixed_vectors section?ARM
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