]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
x86: change type of Dwarf2 register numbers in register table
authorJan Beulich <jbeulich@suse.com>
Fri, 9 Feb 2024 07:38:04 +0000 (08:38 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 9 Feb 2024 07:38:04 +0000 (08:38 +0100)
commit066673f6d5ef258b9534f6baaa3d52fa35905b00
tree2f82f794e36c913563ef27d51d1be8950455ff52
parent272b9416f3ce062de0c28f8dfa2a4112993dd77c
x86: change type of Dwarf2 register numbers in register table

Already the %bnd<N> registers used numbers beyond 127, and eGPR ones are
all out of reach for "signed char", at least when CHAR_BITS=8. Switch to
"unsigned char", covering appropriately in places where the value
returned for "none" actually matters (in tc_x86_parse_to_dw2regnum()
this is actually achieved by altering how X_op is set).
gas/config/tc-i386.c
opcodes/i386-opc.h