aarch64: Use aarch64_operand_error more widely
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:02 +0000 (11:09 +0100)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 30 Mar 2023 10:09:02 +0000 (11:09 +0100)
commit3e4525ca0b410b558207b2cdf62c44e3fc13b4f3
treea643301b2925e24438387aece1b0dfa028c7a4a8
parenta5791d5814226054215b7aab9f87dec6b8e41664
aarch64: Use aarch64_operand_error more widely

GAS's aarch64_instruction had its own cut-down error record,
but it's better for later patches if it reuses the binutils-wide
aarch64_operand_error instead.  The main difference is that
aarch64_operand_error can store arguments to the error while
aarch64_instruction couldn't.
gas/config/tc-aarch64.c