aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2020-05-19 11:38:33 +0000
committerWill Deacon <[email protected]>2020-05-21 11:57:18 +0000
commit9a964285572b5a3ea268bd744bb6837aecf09640 (patch)
tree76d5243ccaff584ad1d4660c3ed259446bf1a4c5 /tools/perf/scripts/python/mem-phys-addr.py
parentarm64: bti: Fix support for userspace only BTI (diff)
downloadkernel-9a964285572b5a3ea268bd744bb6837aecf09640.tar.gz
kernel-9a964285572b5a3ea268bd744bb6837aecf09640.zip
arm64: vdso: Don't prefix sigreturn trampoline with a BTI C instruction
For better or worse, GDB relies on the exact instruction sequence in the VDSO sigreturn trampoline in order to unwind from signals correctly. Commit c91db232da48 ("arm64: vdso: Convert to modern assembler annotations") unfortunately added a BTI C instruction to the start of __kernel_rt_sigreturn, which breaks this check. Thankfully, it's also not required, since the trampoline is called from a RET instruction when returning from the signal handler Remove the unnecessary BTI C instruction from __kernel_rt_sigreturn, and do the same for the 32-bit VDSO as well for good measure. Cc: Daniel Kiss <[email protected]> Cc: Tamas Zsoldos <[email protected]> Reviewed-by: Dave Martin <[email protected]> Reviewed-by: Mark Brown <[email protected]> Fixes: c91db232da48 ("arm64: vdso: Convert to modern assembler annotations") Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions