fix(asm): make arm64 and loong64 relocations match the toolchain
This commit is contained in:
+1
-1
@@ -102,7 +102,7 @@ func (img *Image) ELFLOONG64Object() ([]byte, error) {
|
||||
off: uint64(fn.Offset + r.Off),
|
||||
typ: typ,
|
||||
sym: idx,
|
||||
addend: r.Addend - int64(r.After-r.Off),
|
||||
addend: r.Addend,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user