This is the mail archive of the ecos-bugs@sourceware.org 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]

[Bug 1000701] Error building vectors.S for Thumb on AT91 targets


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.


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