Comment 6 for bug 1166628

Revision history for this message
In , Khem Raj (khem-raj) wrote :

We are now regressing on arm and getting the above error after this commit
This happens on both master as well as 2.23 branch

commit 65faec7cb829c58b20a5f26ee2908ac35165fc58
Author: Roland McGrath <email address hidden>
Date: Tue Nov 20 17:58:28 2012 +0000

    gas/
        * config/tc-arm.c (arm_symbol_chars): New variable.
        * config/tc-arm.h (tc_symbol_chars): New macro, defined to that.

    gas/testsuite/
        * gas/arm/macro-pld.s: New file.
        * gas/arm/macro-pld.d: New file.

Test case is below

a.s
====

.text
str r1,[ r0 ]

$ ./gas/as-new a.s
/home/kraj/a.s: Assembler messages:
/home/kraj/a.s:2: Error: ARM register expected -- `str r1,[ r0 ]'

If I remove spaces before and after r0 the errors goes away. Testcase works well on 2.22 branch and without the above commit.