public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] TODO: aarch64: morello: fix abs sym reloc
@ 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=73f47b6560d6e632284d722f114af28b418c73dd
commit 73f47b6560d6e632284d722f114af28b418c73dd
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Tue Sep 6 16:31:33 2022 +0100
TODO: aarch64: morello: fix abs sym reloc
TODO: squash into
3eb1c569eb TODO(l_addr): aarch64: morello: dynamic linking support
Diff:
---
sysdeps/aarch64/morello/dl-machine.h | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/sysdeps/aarch64/morello/dl-machine.h b/sysdeps/aarch64/morello/dl-machine.h
index 3d2c2bf033..489ff538dd 100644
--- a/sysdeps/aarch64/morello/dl-machine.h
+++ b/sysdeps/aarch64/morello/dl-machine.h
@@ -260,13 +260,8 @@ elf_machine_rela (struct link_map *map, struct r_scope_elem *scope[],
perm_mask = CAP_PERM_MASK_RX;
break;
default:
- {
- const char *strtab;
- strtab = (const void *) D_PTR (sym_map, l_info[DT_STRTAB]);
- _dl_error_printf ("%s: symbol `%s' from `%s' has unknown type, when relocating `%s'.\n",
- RTLD_PROGNAME, strtab + sym->st_name, sym_map->l_name, map->l_name);
- perm_mask = CAP_PERM_MASK_R;
- }
+ /* STT_NONE or unknown symbol: readonly. */
+ perm_mask = CAP_PERM_MASK_R;
}
value = value + reloc->r_addend;
value = __builtin_cheri_perms_and (value, perm_mask);
^ 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: aarch64: morello: fix abs sym reloc 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).