bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/12296] cortex-m3: SVC is not permitted on this architecture


From: dan at wellkeeper dot com
Subject: [Bug gas/12296] cortex-m3: SVC is not permitted on this architecture
Date: Thu, 31 Mar 2011 19:22:18 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12296

Dan McDonald <dan at wellkeeper dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #5340|0                           |1
        is obsolete|                            |

--- Comment #4 from Dan McDonald <dan at wellkeeper dot com> 2011-03-31 
19:22:01 UTC ---
Created attachment 5347
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5347
Mark ARMv7 as having OS extension, add testcase, fix 1/5 regressions

The previous patch introduced 5 test failure regressions. 

Failure #1: 
The patch somehow changed the armv7 attr table to include a new line,
"Tag_CPU_arch_profile: Microcontroller". This new patch modifies the expect
script to allow this change, but I don't know if this is correct behavior.

Failures #2-5:
Instructions of the form "msr APSR_<bits>,<imm|reg>" now generate syntax
errors. Previously, using an immediate for the operand would generate a
different error that was explicitly checked for, and registers as the second
operand would assemble into valid instructions. I spent some time with it (I
think the problem manifests in parse_operands(), but probably doesn't originate
there) but this takes more effort that I can commit to figure out what is going
wrong. This patch makes no attempt to fix these problems.

Finally, this patch enhances a testcase to verify the svc instruction compiles
correctly.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]