diff options
author | Will Deacon <[email protected]> | 2020-06-22 13:09:49 +0100 |
---|---|---|
committer | Will Deacon <[email protected]> | 2020-06-23 14:56:24 +0100 |
commit | 8e411be6aad1387f40d60cb2c11d3260222c590b (patch) | |
tree | e647890d66331188c0b6fa42d6dfcf5737fc667c /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a39060b009ca0b5b5fe0c0dab85ed437531aab52 (diff) |
arm64: compat: Always use sigpage for sigreturn trampoline
The 32-bit sigreturn trampoline in the compat sigpage matches the binary
representation of the arch/arm/ sigpage exactly. This is important for
debuggers (e.g. GDB) and unwinders (e.g. libunwind) since they rely
on matching the instruction sequence in order to identify that they are
unwinding through a signal. The same cannot be said for the sigreturn
trampoline in the compat vDSO, which defeats the unwinder heuristics and
instead attempts to use unwind directives for the unwinding. This is in
contrast to arch/arm/, which never uses the vDSO for sigreturn.
Ensure compatibility with arch/arm/ and existing unwinders by always
using the sigpage for the sigreturn trampoline, regardless of the
presence of the compat vDSO.
Reviewed-by: Vincenzo Frascino <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Mark Rutland <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions