We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de70b6f commit 926dd06Copy full SHA for 926dd06
1 file changed
objdiff-core/src/arch/ppc/mod.rs
@@ -342,7 +342,13 @@ impl Arch for ArchPpc {
342
elf::R_PPC_UADDR32 => 4,
343
_ => 1,
344
},
345
- _ => 1,
+ RelocationFlags::Coff(r_type) => match r_type {
346
+ pe::IMAGE_REL_PPC_ADDR32 => 4,
347
+ pe::IMAGE_REL_PPC_REFHI => 2,
348
+ pe::IMAGE_REL_PPC_REFLO => 2,
349
+ pe::IMAGE_REL_PPC_REL24 => 3,
350
+ _ => 1,
351
+ },
352
}
353
354
0 commit comments