diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-01-13 09:02:38 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-01-23 13:22:46 +1000 |
commit | 1b21fe27e75a59bfe2513f5abcc6a18cfc35cfc8 (patch) | |
tree | e4342d33e612adf1fad58911dfc0669c8fa0c356 /page-vary-common.c | |
parent | c1ddc18f37108498f45d57afd6bf33a23b703648 (diff) |
linux-user/riscv: Adjust vdso signal frame cfa offsets
A typo in sizeof_reg put the registers at the wrong offset.
Simplify the expressions to use positive addresses from the
start of uc_mcontext instead of negative addresses from the
end of uc_mcontext.
Reported-by: Vineet Gupta <vineetg@rivosinc.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'page-vary-common.c')
0 files changed, 0 insertions, 0 deletions