From a2d8296886db553f2242a8277b76ce6868742e9b Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 8 Sep 2022 16:18:38 +0100 Subject: [PATCH] TODO: drop unused u64 reloc addr from lazy relocs squash into 3eb1c569eb TODO(l_addr): aarch64: morello: dynamic linking support --- sysdeps/aarch64/morello/dl-machine.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sysdeps/aarch64/morello/dl-machine.h b/sysdeps/aarch64/morello/dl-machine.h index 489ff538ddc..83528e9039b 100644 --- a/sysdeps/aarch64/morello/dl-machine.h +++ b/sysdeps/aarch64/morello/dl-machine.h @@ -220,9 +220,6 @@ elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[], return; else { -# ifndef RTLD_BOOTSTRAP - const ElfW(Sym) *const refsym = sym; -# endif struct link_map *sym_map = RESOLVE_MAP (map, scope, &sym, version, r_type); uintptr_t value = SYMBOL_ADDRESS (sym_map, sym, true); @@ -365,7 +362,6 @@ elf_machine_lazy_rel (struct link_map *map, struct r_scope_elem *scope[], int skip_ifunc) { void *reloc_addr = (void *) (l_addr + reloc->r_offset); - uint64_t *__attribute__((may_alias)) u64_reloc_addr = reloc_addr; uintptr_t *__attribute__((may_alias)) cap_reloc_addr = reloc_addr; const unsigned int r_type = ELFW (R_TYPE) (reloc->r_info); /* Check for unexpected PLT reloc type. */ -- 2.47.2