libs: rv64: Fix _calc_imm() in arch_elf.c
This commit is contained in:
parent
bd12fb6b64
commit
194734f49b
1 changed files with 1 additions and 1 deletions
|
@ -150,7 +150,7 @@ static void _calc_imm(long offset, long *imm_hi, long *imm_lo)
|
|||
{
|
||||
hi++;
|
||||
}
|
||||
else if (r <= -2048)
|
||||
else if (r < -2048)
|
||||
{
|
||||
hi--;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue