diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-03-14 08:44:32 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-11-22 14:31:25 +0000 |
commit | 93efaa5bdc2218db547addcc5e96ac59c8c8bea0 (patch) | |
tree | 0e0f924f024c969e9f37e3bf6c494911ebeaea1f /sysdeps | |
parent | 4b0cb26b3b2faa0247c8d5dc3348808ffae1e94a (diff) | |
download | glibc-93efaa5bdc2218db547addcc5e96ac59c8c8bea0.tar.gz glibc-93efaa5bdc2218db547addcc5e96ac59c8c8bea0.tar.xz glibc-93efaa5bdc2218db547addcc5e96ac59c8c8bea0.zip |
cheri: elf: use elfptr_t for auxv parsing
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-parse_auxv.h | 4 |
1 files 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; |