binutils Newspaper
JUNE 15, 2026
Date
/
Architectures
Components
Topics
News & Policy
Other
aarch64

AArch64: Add QLF_ERR to aarch64_opnd_qualifiers

The AArch64 operand qualifier enum now has a dummy entry that should never be used.

This adds an entry to aarch64_opnd_qualifiers for AARCH64_OPND_QLF_ERR. This entry should never be used, but it aligns the array length with the enum length, which could improve robustness.

In Details

The enum aarch64_opnd_qualifier and the array aarch64_opnd_qualifiers in opcodes/aarch64-opc.c define the valid operand qualifiers for AArch64 instructions. This change adds an entry that should never be used, ensuring that the array size matches the enum size.

For Context

When assembling AArch64 instructions, the assembler needs to validate that the operands are of the correct type. The aarch64_opnd_qualifiers table provides information about the valid qualifiers for each operand type. This commit adds a new, unused entry to this table, ensuring that the array storing these qualifiers matches the number of possible qualifier types, which could catch errors earlier.

Filed Under: aarch64assemblerqualifiers