Fix PR gas/26001 (pdp11-*-*)
authorStephen Casner <casner@acm.org>
Thu, 28 May 2020 01:40:38 +0000 (18:40 -0700)
committerStephen Casner <casner@acm.org>
Thu, 28 May 2020 01:40:38 +0000 (18:40 -0700)
commit1c912705af057b0d30ea51af46d8a00014a84034
treec1ee20550f9f18c06ad31ae480c4440d76c3510f
parent92eb6ed1779e5bb675d99b2be472021ac0703656
Fix PR gas/26001 (pdp11-*-*)

PR gas/26001
* gas/config/tc-pdp11.c (parse_reg): Distinguish register names from
symbols that begin with a register name.
* gas/testsuite/gas/pdp11/pdp11.exp: Add test of such symbols.
* gas/testsuite/gas/pdp11/pr26001.s: Likewise.
* gas/testsuite/gas/pdp11/pr26001.d: Likewise.
gas/ChangeLog
gas/config/tc-pdp11.c
gas/testsuite/gas/pdp11/pdp11.exp
gas/testsuite/gas/pdp11/pr26001.d [new file with mode: 0644]
gas/testsuite/gas/pdp11/pr26001.s [new file with mode: 0644]