]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
aarch64: Add an error code for out-of-range registers
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:07 +0000 (11:09 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:07 +0000 (11:09 +0100)
commit859f51df4d0e23c21adc2167d738cf1e6c0f2613
tree4be0fd16ae64e3c2cca72c6fba77171a54ad8fe8
parent36043bcff490e6c588d5b52318fbba233f478fab
aarch64: Add an error code for out-of-range registers

libopcodes currently reports out-of-range registers as a general
AARCH64_OPDE_OTHER_ERROR.  However, this means that each register
range needs its own hard-coded string, which is a bit cumbersome
if the range is determined programmatically.  This patch therefore
adds a dedicated error type for out-of-range errors.
gas/config/tc-aarch64.c
include/opcode/aarch64.h
opcodes/aarch64-opc.c