mirror of https://github.com/encounter/objdiff.git
Use ObjInsArgValue::loose_eq in arg_eq
This commit is contained in:
parent
c3e3d175c5
commit
0692deac59
|
@ -259,7 +259,7 @@ fn arg_eq(
|
|||
_ => false,
|
||||
},
|
||||
ObjInsArg::Arg(l) => match right {
|
||||
ObjInsArg::Arg(r) => l == r,
|
||||
ObjInsArg::Arg(r) => l.loose_eq(r),
|
||||
// If relocations are relaxed, match if left is a constant and right is a reloc
|
||||
// Useful for instances where the target object is created without relocations
|
||||
ObjInsArg::Reloc => config.relax_reloc_diffs,
|
||||
|
|
Loading…
Reference in New Issue