diff --git a/src/ld_so/linker.rs b/src/ld_so/linker.rs
index 23574f826b759124cc664194da076f4deddd49ff..7604eba0c13c8181adf4003f1afd17aeb0749000 100644
--- a/src/ld_so/linker.rs
+++ b/src/ld_so/linker.rs
@@ -390,6 +390,9 @@ impl Linker {
                     reloc::R_X86_64_DTPMOD64 => {
                         set_u64(tm as u64);
                     }
+                    reloc::R_X86_64_DTPOFF64 => {
+                        set_u64((s + a) as u64);
+                    }
                     reloc::R_X86_64_GLOB_DAT | reloc::R_X86_64_JUMP_SLOT => {
                         set_u64(s as u64);
                     }