We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572afa8 commit c3ab203Copy full SHA for c3ab203
objdiff-core/src/arch/mips.rs
@@ -293,6 +293,9 @@ impl Arch for ArchMips {
293
}
294
elf::R_MIPS_PC16 => 0, // PC-relative relocation
295
R_MIPS15_S3 => ((code & 0x001FFFC0) >> 3) as i64,
296
+ elf::R_MIPS_GPREL32 => {
297
+ (code as i32 as i64) + self.ri_gp_value as i64
298
+ },
299
flags => bail!("Unsupported MIPS implicit relocation {flags:?}"),
300
};
301
Ok(Some(RelocationOverride { target: RelocationOverrideTarget::Keep, addend }))
0 commit comments