diff options
Diffstat (limited to 'ports/sysdeps/aarch64/dl-machine.h')
-rw-r--r-- | ports/sysdeps/aarch64/dl-machine.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/ports/sysdeps/aarch64/dl-machine.h b/ports/sysdeps/aarch64/dl-machine.h index 324115d272..94f1108e15 100644 --- a/ports/sysdeps/aarch64/dl-machine.h +++ b/ports/sysdeps/aarch64/dl-machine.h @@ -320,18 +320,12 @@ elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc, case R_AARCH64_TLS_DTPREL64: if (sym) - { - const char *strtab; - strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]); - *reloc_addr = sym->st_value + reloc->r_addend; - } + *reloc_addr = sym->st_value + reloc->r_addend; break; case R_AARCH64_TLS_TPREL64: if (sym) { - const char *strtab; - strtab = (const void *) D_PTR (map, l_info[DT_STRTAB]); CHECK_STATIC_TLS (map, sym_map); *reloc_addr = sym->st_value + reloc->r_addend + sym_map->l_tls_offset; |