x86: Handle IMAGE_REL_I386_REL32 LabelAddress

Resolves #57
This commit is contained in:
Luke Street 2024-05-21 10:16:45 -06:00
parent dc0c170db9
commit 7148b51fe0
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ impl FormatterOutput for InstructionFormatterOutput {
FormatterTextKind::LabelAddress => { FormatterTextKind::LabelAddress => {
if let Some(reloc) = self.ins.reloc.as_ref() { if let Some(reloc) = self.ins.reloc.as_ref() {
if matches!(reloc.flags, RelocationFlags::Coff { if matches!(reloc.flags, RelocationFlags::Coff {
typ: pe::IMAGE_REL_I386_DIR32 typ: pe::IMAGE_REL_I386_DIR32 | pe::IMAGE_REL_I386_REL32
}) { }) {
self.ins.args.push(ObjInsArg::Reloc); self.ins.args.push(ObjInsArg::Reloc);
return; return;