Index: ELF/Arch/X86.cpp =================================================================== --- ELF/Arch/X86.cpp +++ ELF/Arch/X86.cpp @@ -297,6 +297,9 @@ case R_386_TLS_LDO_32: case R_386_TLS_LE: case R_386_TLS_LE_32: + case R_386_TLS_TPOFF: + case R_386_TLS_TPOFF32: + case R_386_TLS_DTPOFF32: checkInt<32>(Loc, Val, Type); write32le(Loc, Val); break;