This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: ARM Simulator Bug?
- From: "David Mc Kenna" <mckennad at esatclear dot ie>
- To: Richard Earnshaw <rearnsha at arm dot com>, mckennad at esatclear dot ie, Richard Earnshaw <rearnsha at arm dot com>, gdb at sources dot redhat dot com, insight at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Cc: gdb at sources dot redhat dot com, insight at sources dot redhat dot com, Richard dot Earnshaw at arm dot com
- Date: Wed, 3 Sep 2003 11:36:23 +0100
- Subject: Re: ARM Simulator Bug?
- Reply-to: mckennad at esatclear dot ie
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?
Thanks,
Dave
--
http://www.iol.ie