Skip to content

Commit 7148b51

Browse files
committed
x86: Handle IMAGE_REL_I386_REL32 LabelAddress
Resolves #57
1 parent dc0c170 commit 7148b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objdiff-core/src/arch/x86.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ impl FormatterOutput for InstructionFormatterOutput {
265265
FormatterTextKind::LabelAddress => {
266266
if let Some(reloc) = self.ins.reloc.as_ref() {
267267
if matches!(reloc.flags, RelocationFlags::Coff {
268-
typ: pe::IMAGE_REL_I386_DIR32
268+
typ: pe::IMAGE_REL_I386_DIR32 | pe::IMAGE_REL_I386_REL32
269269
}) {
270270
self.ins.args.push(ObjInsArg::Reloc);
271271
return;

0 commit comments

Comments
 (0)