diff options
| author | 2025-09-05 18:12:56 +0000 | |
|---|---|---|
| committer | 2025-09-11 11:27:59 +0100 | |
| commit | 9d0cb6d00be891586261a35da7f8c3c956825c39 (patch) | |
| tree | 57d60ad91f99130708d83226bd553851aafc1ba0 /rust/helpers/helpers.c | |
| parent | openrisc: Add text patching API support (diff) | |
| download | linux-rng-9d0cb6d00be891586261a35da7f8c3c956825c39.tar.xz linux-rng-9d0cb6d00be891586261a35da7f8c3c956825c39.zip | |
openrisc: Add R_OR1K_32_PCREL relocation type module support
To ensure the proper functioning of the jump_label test module, this patch
adds support for the R_OR1K_32_PCREL relocation type for any modules. The
implementation calculates the PC-relative offset by subtracting the
instruction location from the target value and stores the result at the
specified location.
Signed-off-by: chenmiao <chenmiao.ku@gmail.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
