x86: fix register check in check_qword_reg()
authorJan Beulich <jbeulich@novell.com>
Tue, 5 Jul 2016 09:14:51 +0000 (11:14 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 5 Jul 2016 09:14:51 +0000 (11:14 +0200)
commit33d0ab95489cb3cf7ec98bee63c3541b5295adb6
treec4fa4293d1924556b396eb8af7cb36d2b2d7645f
parent13cdc2afb7873547ec2910ba647fb4a68602252f
x86: fix register check in check_qword_reg()

A missing 'r' (or wrong 'e') register prefix needs to be complained
about if the template allows for a 64-bit register, not a 32-bit one.
I assume this was a copy-and-paste type of mistake
(from check_long_reg()).
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/x86-64-suffix-bad.l
gas/testsuite/gas/i386/x86-64-suffix-bad.s