public inbox for glibc-cvs@sourceware.org help / color / mirror / Atom feed
From: Szabolcs Nagy <nsz@sourceware.org> To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] TODO: aarch64: morello: fix abs sym reloc Date: Wed, 12 Oct 2022 14:16:25 +0000 (GMT) [thread overview] Message-ID: <20221012141625.A4A8E3860770@sourceware.org> (raw) 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);
reply other threads:[~2022-10-12 14:16 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20221012141625.A4A8E3860770@sourceware.org \ --to=nsz@sourceware.org \ --cc=glibc-cvs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).