Unwinding through a signal handler with the sh4 vdso is broken in two
ways: libunwind no longer recognizes the trampolines, since they don't
use the kernel's instruction sequence, and libgcc applies the sigreturn
CFA to rt_sigreturn frames. Patch 3 aligns the trampolines like the
kernel does.
Matt Turner (3):
linux-user/sh4: use the kernel's sigreturn trampoline sequence in the
vdso
linux-user/sh4: fix vdso CFA for rt_sigreturn frames
linux-user/sh4: align the vdso sigreturn trampolines
linux-user/sh4/vdso-be.so | Bin 2704 -> 2724 bytes
linux-user/sh4/vdso-le.so | Bin 2704 -> 2724 bytes
linux-user/sh4/vdso.S | 31 ++++++++++++++++++++++---------
3 files changed, 22 insertions(+), 9 deletions(-)
--
2.54.0