diff options
author | Alice Carlotti <alice.carlotti@arm.com> | 2025-07-11 07:55:45 +0100 |
---|---|---|
committer | Alice Carlotti <alice.carlotti@arm.com> | 2025-07-12 10:04:26 +0100 |
commit | 891fa528c2b3c8aac3e959ec6496ebffe5e5db15 (patch) | |
tree | 875af412c3b70609268c4dc937cd1bcdbbf8ad6a /gdb/testsuite/gdb.python/py-lazy-string.c | |
parent | 6a2b11857f8151379a6c0d126c3a7d38e2fbe776 (diff) | |
download | binutils-891fa528c2b3c8aac3e959ec6496ebffe5e5db15.zip binutils-891fa528c2b3c8aac3e959ec6496ebffe5e5db15.tar.gz binutils-891fa528c2b3c8aac3e959ec6496ebffe5e5db15.tar.bz2 |
aarch64: Refactor exclusion of reg names in immediates
When parsing immediate values, register names should not be
misinterpreted as symbols. However, for backwards compatibility we need
to permit some newer register names within older instructions. The
current mechanism for doing so depends on the list of explicit
architecture requirements for the instructions, which is fragile and
easy to forget, and grows increasingly messy as more architecture
features are added.
This patch add explicit flags to each opcode to indicate which set of
register names is disallowed in each instance. These flags are
mandatory for all opcodes with immediate operands, which ensures that
the choice of disallowed names will always be deliberate and explicit.
This patch should have no functional change.
Diffstat (limited to 'gdb/testsuite/gdb.python/py-lazy-string.c')
0 files changed, 0 insertions, 0 deletions