x86: fix processing of -M disassembler option
authorJan Beulich <jbeulich@suse.com>
Fri, 26 Jun 2020 14:42:55 +0000 (16:42 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Jun 2020 14:42:55 +0000 (16:42 +0200)
commit2a1bb84c67d974b10f2ea76f8ed43244f19ed21e
tree2325a9a4109ea5199526833165a56fb365ad81dc
parentf53b3eeb677aace413d45b4b3c9d23d57d7167fc
x86: fix processing of -M disassembler option

Multiple -M options can be specified in any order. Therefore stright
assignment to fields affected needs to be avoided, such that earlier
options' effects won't be discarded. This was in particular a problem
for -Msuffix followed by certain of the other sub-options.

While updating documentation, take the liberty and also drop the
redundant mentioning of being able to comma-separate multiple options.
binutils/ChangeLog
binutils/doc/binutils.texi
gas/ChangeLog
gas/testsuite/gas/i386/i386.exp
gas/testsuite/gas/i386/nop-1-suffix.d [new file with mode: 0644]
opcodes/ChangeLog
opcodes/i386-dis.c