aarch64: Fix DSB instruction 'missing immediate expression' errors
authorPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 29 Oct 2020 16:30:46 +0000 (16:30 +0000)
committerPrzemyslaw Wirkus <przemyslaw.wirkus@arm.com>
Thu, 29 Oct 2020 16:33:00 +0000 (16:33 +0000)
commit59d5613e42589c6515a0bfe9baae522f164d20fa
tree150025b23981e09b19f099c8d8c38ea776d7aad4
parent76868f3606fb9de04f49c441c1e3cdd3e943a34d
aarch64: Fix DSB instruction 'missing immediate expression' errors

This patch fixes errors with DSB instruction after introduction of DSB nXS
variant. That change would cause GAS to reject valid DSB immediate string
operands.

gas/ChangeLog:

2020-10-28  Przemyslaw Wirkus  <przemyslaw.wirkus@arm.com>

* config/tc-aarch64.c (parse_operands): Check for C0-C15 value of DSB
immediate string operand.
* testsuite/gas/aarch64/system-4.d: Update test.
* testsuite/gas/aarch64/system-4.s: Update test.
gas/config/tc-aarch64.c
gas/testsuite/gas/aarch64/system.d
gas/testsuite/gas/aarch64/system.s