This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
cyg_hal_invoke_constructors - Table is empty
- From: Elad Yosef <elad dot yosef at gmail dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 4 Oct 2010 19:15:40 +0200
- Subject: [ECOS] cyg_hal_invoke_constructors - Table is empty
- References: <AANLkTinHu+1ndtTvOa6EqBbOhQKU4LDDeXgZ7eFw0Ecg@mail.gmail.com>
Hi,
I have ported RedBoot from the Atlas (MIPS 4kec) board to my board.
I replaced the platform component with my new one.
using gnutools that come with ecos-3.0
When I compile RAM version the __CTOR_LIST__ is OK.
(It is in the RAM)
When I compile ROM version (test runs from flash) The Table is empty.
In the Linker script the table is mapped to RAM
I have JTAG for debug and find that the ASM jump is cyg_hal_invoke_constructors
goes to random address (whatever junk is in the RAM).
Is this table copied from the RAM to RAM like the data?
What is the step in the init process that copies the table?
I want to see if I have memory overwrite issue.
Regards
Elad
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss