summaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorLuis Machado <luis.machado@arm.com>2022-07-28 02:09:04 +0100
committerLuis Machado <luis.machado@arm.com>2022-08-03 10:28:03 +0100
commite8424a874d37006e239664b6fbff3c6980e68ab7 (patch)
treeaad6ae0c4352e97bc5988554a339c3dbd6148706 /bfd
parent2b6368f341599ef6c55c16d2eb24ecd0ffd126cf (diff)
downloadbinutils-gdb-e8424a874d37006e239664b6fbff3c6980e68ab7.tar.gz
Improve Morello feature detection
Given HWCAP2_MORELLO changed for Linux Kernel 5.18, this breaks Morello GDB's heuristic for detecting the Morello feature. When possible, switch to detecting the Morello feature through the availability of the NT_ARM_MORELLO register set (which means PTRACE_PEEKCAP and PTRACE_POKECAP are also available). For corefiles, switch to using the presence of the Morello register set section. For extended-remote mode, check for the two possible values of HWCAP2_MORELLO.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions