diff options
| author | Alexander Taylor <alex@vector35.com> | 2026-01-21 17:24:05 -0500 |
|---|---|---|
| committer | Alexander Taylor <alex@vector35.com> | 2026-01-23 10:35:45 -0500 |
| commit | 15e3a9fe618df912948b08c56b10dab035aa8f01 (patch) | |
| tree | 57dd18460da73924eb1343c56d7d71d2a342b035 /arch/x86 | |
| parent | 4e72219707ba28e7ca18816cb74c664006696d99 (diff) | |
Implement R_386_IRELATIVE relocation handling.
Closes #7851.
Diffstat (limited to 'arch/x86')
| -rw-r--r-- | arch/x86/arch_x86.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
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); |
