We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e101610 commit b9ba579Copy full SHA for b9ba579
objdiff-core/src/arch/ppc.rs
@@ -513,6 +513,7 @@ fn guess_data_type_from_load_store_inst_op(inst_op: ppc750cl::Opcode) -> Option<
513
}
514
515
516
+#[derive(Debug)]
517
struct PoolReference {
518
addr_src_gpr: ppc750cl::GPR,
519
addr_offset: i16,
@@ -645,7 +646,7 @@ fn make_fake_pool_reloc(
645
646
// example, dCcD_Cyl in The Wind Waker). So just showing that vtable symbol plus an addend
647
// to represent the offset into it works fine in this case.
648
target_symbol = pool_reloc.relocation.target_symbol;
- addend = pool_reloc.relocation.addend + offset_from_pool;
649
+ addend = offset_from_pool;
650
651
Some(Relocation {
652
flags: RelocationFlags::Elf(elf::R_PPC_NONE),
0 commit comments