]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
TODO: drop unused u64 reloc addr from lazy relocs
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 8 Sep 2022 15:18:38 +0000 (16:18 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 12 Oct 2022 13:22:03 +0000 (14:22 +0100)
squash into
3eb1c569eb TODO(l_addr): aarch64: morello: dynamic linking support

sysdeps/aarch64/morello/dl-machine.h

index 489ff538ddc229592b8621884bced19f8d3aacc5..83528e9039b8656a683b96438ef1835fb199c49c 100644 (file)
@@ -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.  */