public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/arm/morello/main] TODO: more l_addr cleanup
@ 2022-10-26 14:49 Szabolcs Nagy
  0 siblings, 0 replies; only message in thread
From: Szabolcs Nagy @ 2022-10-26 14:49 UTC (permalink / raw)
  To: glibc-cvs

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));

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-26 14:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26 14:49 [glibc/arm/morello/main] TODO: more l_addr cleanup 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).