x86: don't mix disp and imm processing
authorJan Beulich <jbeulich@suse.com>
Fri, 7 May 2021 10:03:12 +0000 (12:03 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 May 2021 10:03:12 +0000 (12:03 +0200)
commit98da05bf2698b55b73453480a3fbb92f163d2c7b
tree926db663523d22ae3c8f89bb0a411102fa910b31
parent9aac24b1a8382f257c4ea223ebefd5e397dfe59b
x86: don't mix disp and imm processing

Surely disp processing should access the disp operand, not an imm one.
This is not an active issue only because imms and disps are, at the
moment, overlapping fields of the same union.
gas/ChangeLog
gas/config/tc-i386.c