mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
riscv: fix literal pool guard jump address calc
This commit is contained in:
parent
fb527804f9
commit
8c7990d4a1
1 changed files with 1 additions and 1 deletions
|
@ -299,7 +299,7 @@ patch_veneer_jmp_offset(uint32_t *loc, ptrdiff_t offset)
|
||||||
static void
|
static void
|
||||||
patch_jmp_without_veneer(jit_state_t *_jit, uint32_t *loc)
|
patch_jmp_without_veneer(jit_state_t *_jit, uint32_t *loc)
|
||||||
{
|
{
|
||||||
patch_jmp_offset(loc, _jit->pc.ui - loc);
|
patch_jmp_offset(loc, _jit->pc.uw - (uintptr_t)loc);
|
||||||
}
|
}
|
||||||
static uint32_t*
|
static uint32_t*
|
||||||
jmp_without_veneer(jit_state_t *_jit)
|
jmp_without_veneer(jit_state_t *_jit)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue