From 0692deac597e6421579b4ad822ff0aadfd841d4a Mon Sep 17 00:00:00 2001 From: Luke Street Date: Sat, 4 Jan 2025 20:58:58 -0700 Subject: [PATCH] Use ObjInsArgValue::loose_eq in arg_eq --- objdiff-core/src/diff/code.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/objdiff-core/src/diff/code.rs b/objdiff-core/src/diff/code.rs index e645a24..4e1d6ce 100644 --- a/objdiff-core/src/diff/code.rs +++ b/objdiff-core/src/diff/code.rs @@ -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,