This fixes the aarch64 assembler so that it will generate error messages when
authorJiong Wang <jiong.wang@arm.com>
Mon, 16 Jun 2014 16:22:19 +0000 (17:22 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 16 Jun 2014 16:22:19 +0000 (17:22 +0100)
commitf4c51f600ed2fcf9f29bdaae71aa767b9b1bc4ac
treed97cf438a17a872f8fcce3d10d99a85573e9a1f5
parent9f19ab6dfa13c3971423624d18f20d90ab70c9cc
This fixes the aarch64 assembler so that it will generate error messages when
a syntax error is detected in an optional operand.

  * config/tc-aarch64.c (END_OF_INSN): New macro.
  (parse_operands): Handle operand given and be in wrong
  format when operand is optional.

  * gas/aarch64/diagnostic.s: New test patterns.
  * gas/aarch64/diagnostic.l: Likewise.
gas/ChangeLog
gas/config/tc-aarch64.c
gas/testsuite/ChangeLog
gas/testsuite/gas/aarch64/diagnostic.l
gas/testsuite/gas/aarch64/diagnostic.s