x86/Intel: don't mistake riz/eiz as base register
authorJan Beulich <jbeulich@novell.com>
Mon, 13 Nov 2017 11:20:30 +0000 (12:20 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 13 Nov 2017 11:20:30 +0000 (12:20 +0100)
commit1187cf29b1f77b4d806c3bbe1fcd86fc7387eeb9
tree97b0a0f667d613adaa484b51bc6e3a20b00b34d7
parent2abc2bec4d8c241c1cd3972b64162407128b4daf
x86/Intel: don't mistake riz/eiz as base register

Just like we make rsp/esp a base register even if it comes second, make
riz/eiz an index register even if it comes first.
gas/ChangeLog
gas/config/tc-i386-intel.c
gas/testsuite/gas/i386/intel.d
gas/testsuite/gas/i386/intel.s