diff options
author | Heiko Stuebner <[email protected]> | 2022-12-23 23:13:32 +0100 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2022-12-29 06:59:52 -0800 |
commit | 27c653c06505f084bcb57f7575916d60efb32279 (patch) | |
tree | bfa28b7b38414bca1ec2721c299c21bfbfb360ac /scripts/generate_rust_analyzer.py | |
parent | 47f05757d3d898b4756d6d5c06e77a37337823e9 (diff) |
RISC-V: fix auipc-jalr addresses in patched alternatives
Alternatives live in a different section, so addresses used by call
functions will point to wrong locations after the patch got applied.
Similar to arm64, adjust the location to consider that offset.
Reviewed-by: Conor Dooley <[email protected]>
Reviewed-by: Andrew Jones <[email protected]>
Reviewed-by: Lad Prabhakar <[email protected]>
Tested-by: Lad Prabhakar <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions