public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] TODO: drop unused u64 reloc addr from lazy relocs
@ 2022-10-12 14:16 Szabolcs Nagy
0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2022-10-12 14:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a2d8296886db553f2242a8277b76ce6868742e9b
commit a2d8296886db553f2242a8277b76ce6868742e9b
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Thu Sep 8 16:18:38 2022 +0100
TODO: drop unused u64 reloc addr from lazy relocs
squash into
3eb1c569eb TODO(l_addr): aarch64: morello: dynamic linking support
Diff:
---
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 489ff538dd..83528e9039 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. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-10-12 14:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-12 14:16 [glibc/arm/morello/main] TODO: drop unused u64 reloc addr from lazy relocs Szabolcs Nagy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).