linux_dsm_epyc7002/arch/arm64/kernel/vdso32
Will Deacon 9a96428557 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 c91db232da ("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 <daniel.kiss@arm.com>
Cc: Tamas Zsoldos <tamas.zsoldos@arm.com>
Reviewed-by: Dave Martin <dave.martin@arm.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Fixes: c91db232da ("arm64: vdso: Convert to modern assembler annotations")
Signed-off-by: Will Deacon <will@kernel.org>
2020-05-21 12:57:18 +01:00
..
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Makefile arm64: vdso32: Enable Clang Compilation 2020-03-21 15:24:03 +01:00
note.c arm64: compat: Add vDSO 2019-06-22 21:21:08 +02:00
sigreturn.S arm64: vdso: Don't prefix sigreturn trampoline with a BTI C instruction 2020-05-21 12:57:18 +01:00
vdso.lds.S arm64: compat: Add vDSO 2019-06-22 21:21:08 +02:00
vdso.S arm64: compat: Add vDSO 2019-06-22 21:21:08 +02:00
vgettimeofday.c arm64: vdso32: Include common headers in the vdso library 2020-03-21 15:24:02 +01:00