]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/ChangeLog
x86: adjust segment override prefix emission
authorJan Beulich <jbeulich@suse.com>
Fri, 14 Feb 2020 13:04:23 +0000 (14:04 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 14 Feb 2020 13:04:23 +0000 (14:04 +0100)
commitb6773884364e0275a793adad4b025913fa155d5a
tree4658777b7d567dda75bd6d901649f140f8597332
parent92334ad2c6ad3aef4f78894c4d0f2794255317b3
x86: adjust segment override prefix emission

Since we already suppress the prefix altogether when it's the default
one for the chosen addressing mode, let's do so also when instruction
prefix and override specified with the memory operand match. (Note that
insn prefix specified segment overrides never get discarded.)
gas/ChangeLog
gas/config/tc-i386.c
gas/testsuite/gas/i386/prefix32.l
gas/testsuite/gas/i386/prefix32.s