Skip to content

Commit 4bbae10

Browse files
committed
Update mod.rs
1 parent e4b0f34 commit 4bbae10

File tree

1 file changed

+3
-0
lines changed
  • objdiff-core/src/arch/ppc

1 file changed

+3
-0
lines changed

objdiff-core/src/arch/ppc/mod.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,9 @@ impl Arch for ArchPpc {
344344
},
345345
RelocationFlags::Coff(r_type) => match r_type {
346346
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,
347350
_ => 1,
348351
},
349352
}

0 commit comments

Comments
 (0)