* [Bug 1000701] Error building vectors.S for Thumb on AT91 targets
2009-02-27 13:39 [Bug 1000701] New: Error building vectors.S for Thumb on ARM7TDMI targets bugzilla-daemon
@ 2009-03-19 15:09 ` bugzilla-daemon
2009-03-23 13:09 ` bugzilla-daemon
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2009-03-19 15:09 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000701
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Error building vectors.S for|Error building vectors.S for
|Thumb on ARM7TDMI targets |Thumb on AT91 targets
--- Comment #1 from John Dallaway <john@dallaway.org.uk> 2009-03-19 15:09:34 ---
Jifl advises that this issue affects AT91 targets only but is, nevertheless,
important to fix. I am updating the summary field accordingly.
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1000701] Error building vectors.S for Thumb on AT91 targets
2009-02-27 13:39 [Bug 1000701] New: Error building vectors.S for Thumb on ARM7TDMI targets bugzilla-daemon
2009-03-19 15:09 ` [Bug 1000701] Error building vectors.S for Thumb on AT91 targets bugzilla-daemon
@ 2009-03-23 13:09 ` bugzilla-daemon
2009-03-23 14:10 ` [Issue " bugzilla-daemon
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2009-03-23 13:09 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000701
--- Comment #2 from John Dallaway <john@dallaway.org.uk> 2009-03-23 13:09:27 ---
In fact, only the AT91EB4x platforms appear to be affected. I have very little
experience of ARM assembler but it would appear that we can simply replace (for
example):
mov r1,#0x000F0000
with:
ldr r1,=0x000F0000
which should work for both ARM and Thumb builds. Correct?
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Issue 1000701] Error building vectors.S for Thumb on AT91 targets
2009-02-27 13:39 [Bug 1000701] New: Error building vectors.S for Thumb on ARM7TDMI targets bugzilla-daemon
2009-03-19 15:09 ` [Bug 1000701] Error building vectors.S for Thumb on AT91 targets bugzilla-daemon
2009-03-23 13:09 ` bugzilla-daemon
@ 2009-03-23 14:10 ` bugzilla-daemon
2009-03-23 15:51 ` [Bug " bugzilla-daemon
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2009-03-23 14:10 UTC (permalink / raw)
To: ecos-bugs
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1000701] Error building vectors.S for Thumb on AT91 targets
2009-02-27 13:39 [Bug 1000701] New: Error building vectors.S for Thumb on ARM7TDMI targets bugzilla-daemon
` (2 preceding siblings ...)
2009-03-23 14:10 ` [Issue " bugzilla-daemon
@ 2009-03-23 15:51 ` bugzilla-daemon
2009-03-23 17:17 ` bugzilla-daemon
2009-03-23 17:22 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2009-03-23 15:51 UTC (permalink / raw)
To: ecos-bugs
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1000701] Error building vectors.S for Thumb on AT91 targets
2009-02-27 13:39 [Bug 1000701] New: Error building vectors.S for Thumb on ARM7TDMI targets bugzilla-daemon
` (3 preceding siblings ...)
2009-03-23 15:51 ` [Bug " bugzilla-daemon
@ 2009-03-23 17:17 ` bugzilla-daemon
2009-03-23 17:22 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2009-03-23 17:17 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000701
--- Comment #5 from John Dallaway <john@dallaway.org.uk> 2009-03-23 17:17:18 ---
Created an attachment (id=681)
--> (http://bugs.ecos.sourceware.org/attachment.cgi?id=681)
ebxx-led-090323.patch
Accommodate building of eb40a, eb42 and eb55 LED manipulation routines for
Thumb
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug 1000701] Error building vectors.S for Thumb on AT91 targets
2009-02-27 13:39 [Bug 1000701] New: Error building vectors.S for Thumb on ARM7TDMI targets bugzilla-daemon
` (4 preceding siblings ...)
2009-03-23 17:17 ` bugzilla-daemon
@ 2009-03-23 17:22 ` bugzilla-daemon
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2009-03-23 17:22 UTC (permalink / raw)
To: ecos-bugs
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000701
John Dallaway <john@dallaway.org.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |CURRENTRELEASE
--- Comment #6 from John Dallaway <john@dallaway.org.uk> 2009-03-23 17:22:09 ---
Patch checked in on repository trunk and eCos 3.0 branch.
--
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.
^ permalink raw reply [flat|nested] 7+ messages in thread