[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 07/23] linux-user/cris: Implement setup_sigtramp
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 07/23] linux-user/cris: Implement setup_sigtramp |
Date: |
Sat, 19 Jun 2021 16:17:57 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 6/19/21 2:55 PM, Richard Henderson wrote:
> On 6/19/21 2:33 AM, Philippe Mathieu-Daudé wrote:
>> On 6/18/21 9:29 PM, Richard Henderson wrote:
>>> Split out setup_sigreturn so that we can continue to
>>> initialize the words on the stack, as documented.
>>> However, use the off-stack trampoline.
>>>
>>> Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
>>> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
>>> ---
>>> linux-user/cris/target_signal.h | 2 ++
>>> linux-user/cris/signal.c | 29 +++++++++++++++++++++--------
>>> 2 files changed, 23 insertions(+), 8 deletions(-)
>>
>> Nitpicking, 6 -> 3 * 2? :)
>
> Elsewhere I have used <bytes-per-tramp> * 2 if we have two trampolines,
> not <bytes-per-insn> * <n-insns>.
Oh, OK :)
>>
>> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
- [PATCH v2 06/23] linux-user/alpha: Implement setup_sigtramp, (continued)
- [PATCH v2 06/23] linux-user/alpha: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 04/23] linux-user/arm: Force v2 frames for fdpic, Richard Henderson, 2021/06/18
- [PATCH v2 13/23] linux-user/mips: Tidy install_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 08/23] linux-user/hexagon: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 07/23] linux-user/cris: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 12/23] linux-user/microblaze: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 16/23] linux-user/openrisc: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 20/23] linux-user/sh4: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 14/23] linux-user/mips: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 11/23] linux-user/m68k: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 10/23] linux-user/i386: Implement setup_sigtramp, Richard Henderson, 2021/06/18
- [PATCH v2 17/23] linux-user/ppc: Implement setup_sigtramp, Richard Henderson, 2021/06/18