diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2013-05-26 16:34:06 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2013-05-26 16:34:06 +0200 |
commit | f0f440a6f2e5b88e9f4114110d37689c6148e13d (patch) | |
tree | 70cde5327dcfb101349a0ec50a7d13b4431d7f6e /elf/dl-support.c | |
parent | de1463d3e4657cf44779185870cdf5a22ee1e415 (diff) | |
parent | e631e5064e2efc594149a07e726ed086f2d8b84d (diff) |
Merge commit 'refs/top-bases/t/hurdsig-global-dispositions-versions' into t/hurdsig-global-dispositions-versions
Diffstat (limited to 'elf/dl-support.c')
-rw-r--r-- | elf/dl-support.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/elf/dl-support.c b/elf/dl-support.c index ad9b4c40b0..b3ab9560ad 100644 --- a/elf/dl-support.c +++ b/elf/dl-support.c @@ -24,6 +24,7 @@ #include <stdlib.h> #include <unistd.h> #include <sys/param.h> +#include <stdint.h> #include <ldsodefs.h> #include <dl-machine.h> #include <bits/libc-lock.h> @@ -126,7 +127,7 @@ int _dl_debug_fd = STDERR_FILENO; int _dl_correct_cache_id = _DL_CACHE_DEFAULT_ID; ElfW(auxv_t) *_dl_auxv; -ElfW(Phdr) *_dl_phdr; +const ElfW(Phdr) *_dl_phdr; size_t _dl_phnum; uint64_t _dl_hwcap __attribute__ ((nocommon)); @@ -205,7 +206,7 @@ _dl_aux_init (ElfW(auxv_t) *av) GLRO(dl_clktck) = av->a_un.a_val; break; case AT_PHDR: - GL(dl_phdr) = (void *) av->a_un.a_val; + GL(dl_phdr) = (const void *) av->a_un.a_val; break; case AT_PHNUM: GL(dl_phnum) = av->a_un.a_val; |