Re: [PATCH 1/2] linux-user/s390x: Fix unwinding from signal handlers

2022-05-07 Thread Richard Henderson
On 5/3/22 17:51, Ilya Leoshkevich wrote: Commit 31330e6cecfd ("linux-user/s390x: Implement setup_sigtramp") removed an unused field from rt_sigframe, disturbing offsets of other fields and breaking unwinding from signal handlers (e.g. libgcc's s390_fallback_frame() relies on this struct having a

Re: [PATCH 1/2] linux-user/s390x: Fix unwinding from signal handlers

2022-05-07 Thread David Hildenbrand
On 04.05.22 00:51, Ilya Leoshkevich wrote: > Commit 31330e6cecfd ("linux-user/s390x: Implement setup_sigtramp") > removed an unused field from rt_sigframe, disturbing offsets of other > fields and breaking unwinding from signal handlers (e.g. libgcc's > s390_fallback_frame() relies on this struct h

[PATCH 1/2] linux-user/s390x: Fix unwinding from signal handlers

2022-05-03 Thread Ilya Leoshkevich
Commit 31330e6cecfd ("linux-user/s390x: Implement setup_sigtramp") removed an unused field from rt_sigframe, disturbing offsets of other fields and breaking unwinding from signal handlers (e.g. libgcc's s390_fallback_frame() relies on this struct having a specific layout). Restore the field and add