Terminate register name when reporting bad register
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Aug 2012 17:01:46 +0000 (17:01 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Aug 2012 17:01:46 +0000 (17:01 +0000)
commitf76bf5e00c9441f1f01364b7e69d81065327996e
treeb2ce4abc37151bdedeafa65f08194b12fa1c2e34
parent3756ef7e3505fde7c4919746c510b7dcbaabe3c5
Terminate register name when reporting bad register

gas/

PR gas/14457
* config/tc-i386.c (i386_att_operand): Terminate register name
when reporting bad register.

gas/testsuite/

PR gas/14457
* gas/i386/i386.exp: Run reg-bad.

* gas/i386/reg-bad.l: New.
* gas/i386/reg-bad.s: Likewise.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/reg-bad.l [new file with mode: 0644]
gas/testsuite/gas/i386/reg-bad.s [new file with mode: 0644]