This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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]

Re: ARM Simulator Bug?


> Hi Richard,
> 
> I think I have gotten closer to solving my problem. It relates to the linker
> script I use with compilation of gcc. 
> 
> If I take the standard armelf.x from the ldscripts directory and link against
> it my problem disappears. My problem is that I wish to place my reset vectors
> at 0x00 not the standard 0x8000. So I change the line:
> 
>   /* Read-only sections, merged into text segment: */
>   . = 0x8000;
> 
> to
> 
>   /* Read-only sections, merged into text segment: */
>   . = 0x00;
> 
> and my problem resurfaces. At a quick check of my memory contents from gdb at
> 0x00 I get 0x01 as opposed to what I get when I "download" the program using
> Run->Download of 0xEA000015.
> 
> Any ideas?

Not really.   Does "arm-elf-objdump -xd exe-file" display something 
sensible?

R.


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