This is the mail archive of the
ecos-bugs@sourceware.org
mailing list for the eCos project.
[Issue 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 14:10:07 +0000
- Subject: [Issue 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
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.