aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64/dl-machine.h
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2021-02-11 11:52:24 +0000
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2021-04-15 09:47:47 +0100
commit55c9f3238080e9aba733bc0902779c46cfa16446 (patch)
tree2ceef5a7b37819f6c7bae1ef1685abf884ec7395 /sysdeps/x86_64/dl-machine.h
parentddcacd91cc10ff92d6201eda87047d029c14158d (diff)
downloadglibc-55c9f3238080e9aba733bc0902779c46cfa16446.tar
glibc-55c9f3238080e9aba733bc0902779c46cfa16446.tar.gz
glibc-55c9f3238080e9aba733bc0902779c46cfa16446.tar.bz2
glibc-55c9f3238080e9aba733bc0902779c46cfa16446.zip
x86_64: Remove lazy tlsdesc relocation related code
_dl_tlsdesc_resolve_rela and _dl_tlsdesc_resolve_hold are only used for lazy tlsdesc relocation processing which is no longer supported.
Diffstat (limited to 'sysdeps/x86_64/dl-machine.h')
-rw-r--r--sysdeps/x86_64/dl-machine.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sysdeps/x86_64/dl-machine.h b/sysdeps/x86_64/dl-machine.h
index 9a876a371e..a8596aa3fa 100644
--- a/sysdeps/x86_64/dl-machine.h
+++ b/sysdeps/x86_64/dl-machine.h
@@ -127,10 +127,6 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
}
}
- if (l->l_info[ADDRIDX (DT_TLSDESC_GOT)] && lazy)
- *(ElfW(Addr)*)(D_PTR (l, l_info[ADDRIDX (DT_TLSDESC_GOT)]) + l->l_addr)
- = (ElfW(Addr)) &_dl_tlsdesc_resolve_rela;
-
return lazy;
}