aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-support.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-05-11 17:32:13 +0000
committerUlrich Drepper <drepper@redhat.com>2005-05-11 17:32:13 +0000
commit39fb308fd2e20c6bec7b70835cdde43c24055e0e (patch)
tree2794fa4ad14f6a3b74b834971ed56b661ad22fd2 /elf/dl-support.c
parenteac3813bea3e61ba8d9e70724ee7eed9194c3929 (diff)
downloadglibc-39fb308fd2e20c6bec7b70835cdde43c24055e0e.zip
glibc-39fb308fd2e20c6bec7b70835cdde43c24055e0e.tar.gz
glibc-39fb308fd2e20c6bec7b70835cdde43c24055e0e.tar.bz2
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Adjust for
removal of a_ptr element in ElfXX_auxv_t. * elf/dl-support.c (_dl_aux_init): Likewise.
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r--elf/dl-support.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c
index d145a7b..c3b6350 100644
--- a/elf/dl-support.c
+++ b/elf/dl-support.c
@@ -173,7 +173,7 @@ _dl_aux_init (ElfW(auxv_t) *av)
GLRO(dl_clktck) = av->a_un.a_val;
break;
case AT_PHDR:
- GL(dl_phdr) = av->a_un.a_ptr;
+ GL(dl_phdr) = (void *) av->a_un.a_val;
break;
case AT_PHNUM:
GL(dl_phnum) = av->a_un.a_val;
@@ -188,7 +188,7 @@ _dl_aux_init (ElfW(auxv_t) *av)
#endif
#if defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO
case AT_SYSINFO_EHDR:
- GL(dl_sysinfo_dso) = av->a_un.a_ptr;
+ GL(dl_sysinfo_dso) = (void *) av->a_un.a_val;
break;
#endif
case AT_UID: