Skip to content

linux-user/sh4: fix unwinding through vdso signal trampolines

Matt Turner qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3linux-user/sh4: use the kernel's sigreturn trampoline sequence in the vdsolinux-user/sh4/vdso-be.so linux-user/sh4/vdso-le.so linux-user/sh4/vdso.S+18 -81 reply
2/3linux-user/sh4: fix vdso CFA for rt_sigreturn frameslinux-user/sh4/vdso-be.so linux-user/sh4/vdso-le.so linux-user/sh4/vdso.S+2 -10 replies
3/3linux-user/sh4: align the vdso sigreturn trampolineslinux-user/sh4/vdso-be.so linux-user/sh4/vdso-le.so linux-user/sh4/vdso.S+2 -03 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéHelge Deller
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] linux-user/sh4: fix unwinding through vdso signal trampolines

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(-)
Signature · 1 line
2.54.0