x86: don't use operand size override with NOP in 16-bit code
authorJan Beulich <jbeulich@suse.com>
Mon, 23 Oct 2023 08:30:55 +0000 (10:30 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 23 Oct 2023 08:30:55 +0000 (10:30 +0200)
commit5e0729b655a2594c7b6750fb53f2f99750744ca2
tree3ff4bbf242aa4d11a5d621aca5036b29affd91dd
parentd164359dbc14c8ae4c7a117d236f5b7de4af671a
x86: don't use operand size override with NOP in 16-bit code

Since we don't key the NOP selection to user-controlled properties, we
may not use i386 features; otherwise we would violate a possible .arch
directive restricting ISA to pre-386.
gas/config/tc-i386.c
gas/testsuite/gas/i386/nop-2.d
gas/testsuite/gas/i386/nops16-1.d
gas/testsuite/gas/i386/x86-64-nop-2.d