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: cheri: elf: turn back to addresses: l_map_end, l_text_end, l_relro_start
Date: Wed, 12 Oct 2022 14:16:20 +0000 (GMT)	[thread overview]
Message-ID: <20221012141620.90BFA385084D@sourceware.org> (raw)

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

commit bfc66c9896bd903f0295dee436110895de28a29e
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Tue Aug 23 16:37:25 2022 +0100

    TODO: cheri: elf: turn back to addresses: l_map_end, l_text_end, l_relro_start
    
    TODO: squash into
    51fe1e15ed TODO(incomplete): cheri: rtld: more elfptr_t in linkmap struct

Diff:
---
 include/link.h | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/include/link.h b/include/link.h
index 9ab07a281a..e70d3b2d75 100644
--- a/include/link.h
+++ b/include/link.h
@@ -253,9 +253,10 @@ struct link_map
 
     /* Start and finish of memory map for this object.  l_map_start
        need not be the same as l_addr.  */
-    elfptr_t l_map_start, l_map_end;
+    elfptr_t l_map_start;
+    ElfW(Addr) l_map_end;
     /* End of the executable part of the mapping.  */
-    elfptr_t l_text_end;
+    ElfW(Addr) l_text_end;
 
     /* Default array for 'l_scope'.  */
     struct r_scope_elem *l_scope_mem[4];
@@ -344,7 +345,7 @@ struct link_map
 
     /* Information used to change permission after the relocations are
        done.  */
-    elfptr_t l_relro_addr;
+    ElfW(Addr) l_relro_addr;
     size_t l_relro_size;
 
     unsigned long long int l_serial;

                 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=20221012141620.90BFA385084D@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).