This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]