From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id B3F86384B837; Wed, 26 Oct 2022 15:15:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B3F86384B837 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666797358; bh=8HroPmelsOX2v36JAKUBGNLdGbA8QCc9ix4qNN+cWIY=; h=From:To:Subject:Date:From; b=RZh6FeC8xR8VsYUTOufbvUg46UlpFDRbyxUbbGLTtMuQxFoaxQgIqqi3AahDO2NWi BxiXQANfBsHs2NoReKYw5mcA05p4UzRq76hrGp1yzWr2Gzn3TDrbQKZsdJ68Lqbw0T coOf4RQNZM5HswaFI0wfhe7qh7SnPraBvY4YW4zs= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] cheri: elf: use elfptr_t for auxv parsing X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: eec9eba52840d17f8775c60b4c22558ca8158e8e X-Git-Newrev: 3476146867b756b8121b2b5ebe39fc10d1eb74ff Message-Id: <20221026151558.B3F86384B837@sourceware.org> Date: Wed, 26 Oct 2022 15:15:47 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=3476146867b756b8121b2b5ebe39fc10d1eb74ff commit 3476146867b756b8121b2b5ebe39fc10d1eb74ff Author: Szabolcs Nagy Date: Mon Mar 14 08:44:32 2022 +0000 cheri: elf: use elfptr_t for auxv parsing Diff: --- 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 #include -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;