We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66c879a commit 7ad1f95Copy full SHA for 7ad1f95
1 file changed
objdiff-core/src/arch/ppc/mod.rs
@@ -238,9 +238,9 @@ impl Arch for ArchPpc {
238
addend: 0,
239
})),
240
|(_, reloc)| match reloc.target() {
241
- object::RelocationTarget::Symbol(index) => Ok(Some(RelocationOverride {
+ object::RelocationTarget::Symbol(_) => Ok(Some(RelocationOverride {
242
target: RelocationOverrideTarget::Keep,
243
- addend: index.0 as u16 as i16 as i64,
+ addend: 0,
244
245
target => Err(anyhow!("Unsupported IMAGE_REL_PPC_PAIR target {target:?}")),
246
},
0 commit comments