From 15e3a9fe618df912948b08c56b10dab035aa8f01 Mon Sep 17 00:00:00 2001 From: Alexander Taylor Date: Wed, 21 Jan 2026 17:24:05 -0500 Subject: Implement R_386_IRELATIVE relocation handling. Closes #7851. --- arch/x86/arch_x86.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'arch') diff --git a/arch/x86/arch_x86.cpp b/arch/x86/arch_x86.cpp index 708135a7..22bab67d 100644 --- a/arch/x86/arch_x86.cpp +++ b/arch/x86/arch_x86.cpp @@ -4150,6 +4150,14 @@ public: reloc.truncateSize = 4; reloc.implicitAddend = false; break; + case R_386_IRELATIVE: + reloc.pcRelative = false; + reloc.baseRelative = false; + reloc.hasSign = false; + reloc.size = 4; + reloc.truncateSize = 4; + reloc.implicitAddend = true; + break; default: reloc.type = UnhandledRelocation; relocTypes.insert(reloc.nativeType); -- cgit v1.3.1