This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Bug 1000701] Error building vectors.S for Thumb on AT91 targets
- From: bugzilla-daemon at ecoscentric dot com
- To: ecos-bugs at ecos dot sourceware dot org
- Date: Mon, 23 Mar 2009 15:51:06 +0000
- Subject: [Bug 1000701] Error building vectors.S for Thumb on AT91 targets
- References: <bug-1000701-13@http.bugs.ecos.sourceware.org/>
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000701
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|jifl@ecoscentric.com |john@dallaway.org.uk
--- Comment #4 from John Dallaway <john@dallaway.org.uk> 2009-03-23 15:51:05 ---
(In reply to comment #3)
> For eCosPro we converted all those mov's to use the following macro:
>
> .macro ldrc reg,val
> #ifdef __thumb__
> ldr \reg,=\val
> #else
> mov \reg,#\val
> #endif
> .endm
Thanks for the info, Nick.
> However, I believe that the assembler will convert an ldr into an equivalent
> mov if it can, so in theory just using ldr should be OK.
Yes, that was my understanding from the documentation I found. I will perform
the substitution in the AT91EBxx LED macros as described in comment #2.
--
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.