From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 76662385152A; Thu, 27 Oct 2022 13:54:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76662385152A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666878863; bh=bmToW5JnoUx/aPVTswTLhNw540y2nwOrrbv6bKsp9FQ=; h=From:To:Subject:Date:From; b=q6O2bdXyn8TZlvOqzozZqT+1pmnS1g7ZwcHdY4hL6j8NN6m02jerZ8Zzy3ejqVnCG D3b1BAhKpfH5IftrHatscmD8Kr83H22nlAZghoh+IQJnEqvmaVOeO1fbmH2FfkmRGd psCcpJrKG8nD90QjgUZ7WYNfA/420JQ+aLx7Hm/U= 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: 429fa3afd26e91598884f687eac20e60a2dc56cc X-Git-Newrev: 6d770f594045219d4b9142916e0e46ab441da98c Message-Id: <20221027135423.76662385152A@sourceware.org> Date: Thu, 27 Oct 2022 13:54:23 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6d770f594045219d4b9142916e0e46ab441da98c commit 6d770f594045219d4b9142916e0e46ab441da98c 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;