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: more l_addr cleanup
Date: Wed, 26 Oct 2022 14:49:39 +0000 (GMT)	[thread overview]
Message-ID: <20221026144939.2EA7D3853541@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=45b4ae2ffd243ce637fe82c912c0e863b9c660ab

commit 45b4ae2ffd243ce637fe82c912c0e863b9c660ab
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Fri Oct 21 15:51:49 2022 +0100

    TODO: more l_addr cleanup
    
    TODO: squash into
    
      commit f2f4f441fbda6080d0ff742f3bb535c09315ef98
      cheri: elf: Turn l_addr back to ElfW(Addr)

Diff:
---
 elf/dl-reloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elf/dl-reloc.c b/elf/dl-reloc.c
index d0d9a51716..4656015ea2 100644
--- a/elf/dl-reloc.c
+++ b/elf/dl-reloc.c
@@ -355,7 +355,7 @@ _dl_protect_relro (struct link_map *l)
 {
   elfptr_t start = ALIGN_DOWN(dl_rx_ptr (l, l->l_relro_addr),
 				GLRO(dl_pagesize));
-  elfptr_t end = ALIGN_DOWN((l->l_addr
+  ElfW(Addr) end = ALIGN_DOWN((l->l_addr
 			       + l->l_relro_addr
 			       + l->l_relro_size),
 			      GLRO(dl_pagesize));

                 reply	other threads:[~2022-10-26 14:49 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=20221026144939.2EA7D3853541@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: link
Be 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).