Re: [PATCH] linux-user: xtensa: fix signal delivery in FDPIC

2023-11-12 Thread Richard Henderson
On 11/12/23 09:02, Max Filippov wrote: On Sun, Nov 12, 2023 at 8:51 AM Richard Henderson However, it does not handle the GOT register for the restorer, like we do on ARM. That said, I can't find any libc sources for xtensa, or at least that aren't out of date by a It's WIP, available at

Re: [PATCH] linux-user: xtensa: fix signal delivery in FDPIC

2023-11-12 Thread Max Filippov
On Sun, Nov 12, 2023 at 8:51 AM Richard Henderson wrote: > > On 11/11/23 03:22, Max Filippov wrote: > > In FDPIC signal handlers are passed around as FD pointers. Actual code > > address and GOT pointer must be fetched from memory by the QEMU code > > that implements kernel signal delivery

Re: [PATCH] linux-user: xtensa: fix signal delivery in FDPIC

2023-11-12 Thread Richard Henderson
On 11/11/23 03:22, Max Filippov wrote: In FDPIC signal handlers are passed around as FD pointers. Actual code address and GOT pointer must be fetched from memory by the QEMU code that implements kernel signal delivery functionality. This change is equivalent to the following kernel change: