mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-12 20:20:18 +00:00
TODO: drop unused u64 reloc addr from lazy relocs
squash into
3eb1c569eb
TODO(l_addr): aarch64: morello: dynamic linking support
This commit is contained in:
parent
73f47b6560
commit
a2d8296886
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user