This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
EB40a: Linking application for flash
- From: Ketil Harald Ruud <ketil dot ruud at kitron dot com>
- To: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Cc: Ketil Harald Ruud <ketil dot ruud at kitron dot com>
- Date: Wed, 9 Jul 2003 15:45:27 +0200
- Subject: [ECOS] EB40a: Linking application for flash
I'm making a hello world application to be flashed at address 0x1040000
(above my redbootROM which is running).
For an unknown reason I get an unexpected offset of 0x8000 in the .text
section.
According to the header section (arm-elf-objdump -h), the .text should start
at address 0x1040000, but when displaying the code using the redboot dump
command, the code is located at address 0x1048040.
I also see in the header section that there is a "file offset" field that is
saying 0x8000, but where does this offset come from?
Can anybody give an explanation for the strange offset?
Ketil
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss