This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: ARM7 problem with ldr assembly instruction
- From: Roland Caßebohm <roland dot cassebohm at visionsystems dot de>
- To: <benny at voicepump dot com>, "benny" <benny5 at mindspring dot com>, "Gary Thomas" <gary at chez-thomas dot org>
- Cc: "Ecos-Discuss \(E-mail\)" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 12 Jul 2002 18:50:26 +0200
- Subject: Re: [ECOS] ARM7 problem with ldr assembly instruction
- References: <AHEPJHOCAEJIJJMPAIIFAELFCKAA.benny5@mindspring.com>
On Friday, 12. July 2002 19:37, benny wrote:
> Gary, thanks a lot!
> I'll use your suggestions.
> I know it is not your call but wouldn't be logical to assume at least core
> exception in such case (abort) like Motorola had once rather then the
> instruction
> that doesn't do anything :-(
> I'll try to ask ARM and will post the answer if it will be any :-)
I had the same problem but in my case the ARM made an exception. The solution
is to add -mno-short-load-words to the compiler flags. I think in the AT91
platform this is done but it is missing for the SNDS platform.
Regards,
Roland
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss