Correct the parsing of derferred register addressing in the PDP11 assembler.
authorJames Patrick Conlon <cptjustice@gmail.com>
Tue, 7 Aug 2018 07:34:08 +0000 (08:34 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 7 Aug 2018 07:34:08 +0000 (08:34 +0100)
commit8f9ea98bebb629f0e6993be015f042bf45dcdd18
tree69f1131acb02712504ee95d0cddb06d819716cc2
parent71f6efc44e1bc525313f62dc6e30b4706fc644d3
Correct the parsing of derferred register addressing in the PDP11 assembler.

PR 23481
* config/tc-pdp11.c (parse_op_noreg): Check for deferred register
addressing before assuming non-deferred addressing.
* testsuite/gas/pdp11/pr23481.s: New test source file.
* testsuite/gas/pdp11/pr23481.d: New test driver file.
* testsuite/gas/pdp11/pdp11.exp: Run the new test.
gas/ChangeLog
gas/config/tc-pdp11.c
gas/testsuite/gas/pdp11/pdp11.exp
gas/testsuite/gas/pdp11/pr23481.d [new file with mode: 0644]
gas/testsuite/gas/pdp11/pr23481.s [new file with mode: 0644]