Re: [PATCH] linux-user/riscv: Use abi_ulong for target_ucontext

2023-08-10 Thread LIU Zhiwei
On 2023/8/10 18:48, Philippe Mathieu-Daudé wrote: On 8/8/23 11:34, LIU Zhiwei wrote: We should not use types dependend on host arch for target_ucontext. This bug is found when run rv32 applications. Signed-off-by: LIU Zhiwei ---   linux-user/riscv/signal.c | 4 ++--   1 file changed, 2 insert

Re: [PATCH] linux-user/riscv: Use abi_ulong for target_ucontext

2023-08-10 Thread Philippe Mathieu-Daudé
On 8/8/23 11:34, LIU Zhiwei wrote: We should not use types dependend on host arch for target_ucontext. This bug is found when run rv32 applications. Signed-off-by: LIU Zhiwei --- linux-user/riscv/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/risc

Re: [PATCH] linux-user/riscv: Use abi_ulong for target_ucontext

2023-08-08 Thread Richard Henderson
On 8/8/23 02:34, LIU Zhiwei wrote: We should not use types dependend on host arch for target_ucontext. This bug is found when run rv32 applications. Signed-off-by: LIU Zhiwei --- linux-user/riscv/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Richard Henders

Re: [PATCH] linux-user/riscv: Use abi_ulong for target_ucontext

2023-08-08 Thread Daniel Henrique Barboza
On 8/8/23 06:34, LIU Zhiwei wrote: We should not use types dependend on host arch for target_ucontext. This bug is found when run rv32 applications. Signed-off-by: LIU Zhiwei --- Reviewed-by: Daniel Henrique Barboza linux-user/riscv/signal.c | 4 ++-- 1 file changed, 2 insertions(+)

[PATCH] linux-user/riscv: Use abi_ulong for target_ucontext

2023-08-08 Thread LIU Zhiwei
We should not use types dependend on host arch for target_ucontext. This bug is found when run rv32 applications. Signed-off-by: LIU Zhiwei --- linux-user/riscv/signal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linux-user/riscv/signal.c b/linux-user/riscv/signal.c