mirror of
https://github.com/rui314/mold.git
synced 2024-10-26 13:10:46 +03:00
Refactor
This commit is contained in:
parent
b78f237a68
commit
784fd27e9e
@ -534,7 +534,7 @@ void InputSection<E>::apply_reloc_alloc(Context<E> &ctx, u8 *base) {
|
||||
case R_RISCV_SUB_ULEB128: {
|
||||
u8 *p = loc;
|
||||
u64 val = read_uleb(p);
|
||||
overwrite_uleb(loc, val - (S + A));
|
||||
overwrite_uleb(loc, val - S - A);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user