]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: drop most OPERAND_TYPE_* (and rework the rest)
authorJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2022 08:54:09 +0000 (09:54 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 2 Dec 2022 08:54:09 +0000 (09:54 +0100)
commit05909f2341abff450513a9e7cfdf43850379a7c4
tree9dc858e5808aa643184643b70564803f19ba90c2
parent4473201422ad238f90f3151454959a6d35cfb6c2
x86: drop most OPERAND_TYPE_* (and rework the rest)

With the general use of C99 there's no need anymore to have i386-gen
produce these. For more frequently used ones introduce local #define-s,
while others are simply spelled out directly. While doing this move
some static constants into more narrow scopes.

Note that as a "side effect" this corrects type_names[]'es imm8s entry.
gas/config/tc-i386.c
opcodes/i386-gen.c
opcodes/i386-init.h