x86: extend LEA's segment override warning
authorJan Beulich <jbeulich@suse.com>
Fri, 14 Feb 2020 13:02:05 +0000 (14:02 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Feb 2020 13:02:05 +0000 (14:02 +0100)
commit514a8bb031f64fc31a4d534249b9e3dfad171b28
treeaa7c6d26669fb82409664bc6ce1e79a3d139ac65
parent0e6724dee4984e62e2f8e7da431f3b875ab14c4a
x86: extend LEA's segment override warning

For one both possible forms should be warned about. And then, to guard
against future surprises, qualify the original opcode check by excluding
VEX/EVEX-like templates.
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/lea.d [new file with mode: 0644]
gas/testsuite/gas/i386/lea.e [new file with mode: 0644]
gas/testsuite/gas/i386/lea.s [new file with mode: 0644]