config/tc-aarch64.c: Avoid trying to parse a vector mov as immediate.
authorWill Newton <will.newton@linaro.org>
Fri, 1 Nov 2013 00:21:11 +0000 (17:21 -0700)
committerWill Newton <will.newton@linaro.org>
Tue, 5 Nov 2013 14:36:13 +0000 (14:36 +0000)
commit05c4e689c3c66b22851b96fc99b9a5c6750d40c2
treeb15415305b5ec63360529b9cfc9d6c848b60803c
parenta7b897de6bc3409e7b4c7d3d7a7e6effde650fff
config/tc-aarch64.c: Avoid trying to parse a vector mov as immediate.

Parsing a vector mov instruction currently leads to a phantom undefined
symbol being added to the symbol table. e.g.:

       .text
       mov     x0, v0.D[0]

Produces an undefined symbol called "v0.D".

gas/ChangeLog:

2013-11-05  Will Newton  <will.newton@linaro.org>

PR gas/16103
* config/tc-aarch64.c (parse_operands): Avoid trying to
parse a vector register as an immediate.

gas/testsuite/ChangeLog:

2013-11-05  Will Newton  <will.newton@linaro.org>

* gas/aarch64/advsimd-mov-bad.d: New file.
* gas/aarch64/advsimd-mov-bad.s: Likewise.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/advsimd-mov-bad.d [new file with mode: 0644]
gas/testsuite/gas/aarch64/advsimd-mov-bad.s [new file with mode: 0644]