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]

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


http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000701


Nick Garnett <nickg@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickg@ecoscentric.com




--- Comment #3 from Nick Garnett <nickg@ecoscentric.com>  2009-03-23 14:10:06 ---
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

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.


Note that other changes may be needed to get thumb working on some of the older
targets where thumb support was never fully tested.


-- 
Configure issuemail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the issue.


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