public inbox for
help / color / mirror / Atom feed
From: Szabolcs Nagy <>
Subject: [glibc/arm/morello/main] cheri: elf: use elfptr_t for auxv parsing
Date: Wed, 26 Oct 2022 15:15:47 +0000 (GMT)	[thread overview]
Message-ID: <> (raw);h=3476146867b756b8121b2b5ebe39fc10d1eb74ff

commit 3476146867b756b8121b2b5ebe39fc10d1eb74ff
Author: Szabolcs Nagy <>
Date:   Mon Mar 14 08:44:32 2022 +0000

    cheri: elf: use elfptr_t for auxv parsing

 sysdeps/unix/sysv/linux/dl-parse_auxv.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/dl-parse_auxv.h b/sysdeps/unix/sysv/linux/dl-parse_auxv.h
index bf9374371e..48ca7736a0 100644
--- a/sysdeps/unix/sysv/linux/dl-parse_auxv.h
+++ b/sysdeps/unix/sysv/linux/dl-parse_auxv.h
@@ -22,14 +22,14 @@
 #include <ldsodefs.h>
 #include <link.h>
-typedef ElfW(Addr) dl_parse_auxv_t[AT_MINSIGSTKSZ + 1];
+typedef elfptr_t dl_parse_auxv_t[AT_MINSIGSTKSZ + 1];
 /* Copy the auxiliary vector into AUXV_VALUES and set up GLRO
    variables.  */
 static inline
 void _dl_parse_auxv (ElfW(auxv_t) *av, dl_parse_auxv_t auxv_values)
-  auxv_values[AT_ENTRY] = (ElfW(Addr)) ENTRY_POINT;
+  auxv_values[AT_ENTRY] = (elfptr_t) ENTRY_POINT;
   auxv_values[AT_PAGESZ] = EXEC_PAGESIZE;
   auxv_values[AT_FPUCW] = _FPU_DEFAULT;

             reply	other threads:[~2022-10-26 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-26 15:15 Szabolcs Nagy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-11-23 14:44 Szabolcs Nagy
2022-10-27 13:54 Szabolcs Nagy
2022-08-05 19:34 Szabolcs Nagy

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* 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).