This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: implications of placing vectors section after the textsection.
- From: Gary Thomas <gary at mlbassoc dot com>
- To: keshava <gc_keshava at yahoo dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Wed, 14 Sep 2005 13:50:33 -0600
- Subject: Re: [ECOS] implications of placing vectors section after the textsection.
- References: <20050914154409.59843.qmail@web51007.mail.yahoo.com>
On Wed, 2005-09-14 at 08:44 -0700, keshava wrote:
> Hello,
>
> I currently have this RAM_STARTUP type memory map on a
> leon cyclone platfrom ....
>
> SECTION_vectors (ram,0x01000000, LMA_EQ_VMA)
> SECTION_text (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_gcc_except_table (ram, ALIGN (0x4),
> LMA_EQ_VMA)
> SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
> SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)
>
> I want to know what are the potential implications if
> i move the vectors section after the text
> section.. if anybody has experiemented with this
> configuration.. please let me know if there
> are any potential side effects.
> This is the configuration i want use...
> SECTION_text (ram,0x01000000, LMA_EQ_VMA)
> SECTION_vectors (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_fini (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_rodata (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_rodata1 (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_fixup (ram, ALIGN (0x4), LMA_EQ_VMA)
> SECTION_gcc_except_table (ram, ALIGN (0x4),
> LMA_EQ_VMA)
> SECTION_data (ram, ALIGN (0x04), LMA_EQ_VMA)
> SECTION_bss (ram, ALIGN (0x8), LMA_EQ_VMA)
What architecture/platform is this for? Why do you want
to do this?
n.b. the potential side effects are [most probably] your
eCos application will not work :-(
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss