aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
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 /sysdeps
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 'sysdeps')
-rw-r--r--sysdeps/generic/dl-sysdep.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 1fae16e..6ac0d95 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -119,7 +119,7 @@ _dl_sysdep_start (void **start_argptr,
switch (av->a_type)
{
case AT_PHDR:
- phdr = av->a_un.a_ptr;
+ phdr = (void *) av->a_un.a_val;
break;
case AT_PHNUM:
phnum = av->a_un.a_val;
@@ -152,7 +152,7 @@ _dl_sysdep_start (void **start_argptr,
INTUSE(__libc_enable_secure) = av->a_un.a_val;
break;
case AT_PLATFORM:
- GLRO(dl_platform) = av->a_un.a_ptr;
+ GLRO(dl_platform) = (void *) av->a_un.a_val;
break;
case AT_HWCAP:
GLRO(dl_hwcap) = (unsigned long int) av->a_un.a_val;
@@ -170,7 +170,7 @@ _dl_sysdep_start (void **start_argptr,
#endif
#if defined NEED_DL_SYSINFO || defined NEED_DL_SYSINFO_DSO
case AT_SYSINFO_EHDR:
- GLRO(dl_sysinfo_dso) = av->a_un.a_ptr;
+ GLRO(dl_sysinfo_dso) = (void *) av->a_un.a_val;
break;
#endif
#ifdef DL_PLATFORM_AUXV
@@ -312,7 +312,7 @@ _dl_show_auxv (void)
if (idx < sizeof (auxvars) / sizeof (auxvars[0])
&& auxvars[idx].form != unknown)
{
- const char *val = av->a_un.a_ptr;
+ const char *val = (char *) av->a_un.a_val;
if (__builtin_expect (auxvars[idx].form, dec) == dec)
val = _itoa ((unsigned long int) av->a_un.a_val,