aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.h
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@arm.com>2022-09-09 10:30:53 +0100
committerLuis Machado <luis.machado@arm.com>2022-10-03 14:15:16 +0100
commit1ba3a3222039eb2576d29c9fd3af444f59fa51d2 (patch)
tree462f71f478e6c06c59f72425ea6ea9fb2b6a64c6 /gas/expr.h
parent907b52f4ceb6d15b00a0ac5fc7a7029f8a80b97d (diff)
downloadbinutils-1ba3a3222039eb2576d29c9fd3af444f59fa51d2.zip
binutils-1ba3a3222039eb2576d29c9fd3af444f59fa51d2.tar.gz
binutils-1ba3a3222039eb2576d29c9fd3af444f59fa51d2.tar.bz2
[AArch64] Fix pseudo-register numbering in the presence of unexpected additional registers
When using AArch64 GDB with the QEMU debugging stub (in user mode), we get additional system registers that GDB doesn't particularly care about, so it doesn't number those explicitly. But given the pseudo-register numbers are above the number of real registers, we need to setup/account for the real registers first before going ahead and numbering the pseudo-registers. This has to happen at the end of aarch64_gdbarch_init, after the call to tdesc_use_registers, as that updates the total number of real registers. This is in preparation to supporting pointer authentication for bare metal aarch64 (QEMU).
Diffstat (limited to 'gas/expr.h')
0 files changed, 0 insertions, 0 deletions