diff options
author | Ulrich Drepper <drepper@redhat.com> | 2007-08-13 00:23:59 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2007-08-13 00:23:59 +0000 |
commit | 3c87d79db7ae1f65294d088be7709140780b652c (patch) | |
tree | 603151b0786c63510e4e3f85bb019bb7da9aa312 /elf/cache.c | |
parent | 974a1f0fb2fa441152dfda9acb4c3898f67eea6a (diff) | |
download | glibc-3c87d79db7ae1f65294d088be7709140780b652c.tar glibc-3c87d79db7ae1f65294d088be7709140780b652c.tar.gz glibc-3c87d79db7ae1f65294d088be7709140780b652c.tar.bz2 glibc-3c87d79db7ae1f65294d088be7709140780b652c.zip |
* sysdeps/unix/sysv/linux/x86_64/libc-start.c
(_libc_vdso_platform_setup): Mangle function pointers before storing
them.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
Demangle vdso pointer before use.
(INTERNAL_VSYSCALL): Likewise.
* elf/cache.c (primes): Mark as const.
Noted by Roland McGrath.
Diffstat (limited to 'elf/cache.c')
-rw-r--r-- | elf/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/cache.c b/elf/cache.c index 180adeadab..9a600ea535 100644 --- a/elf/cache.c +++ b/elf/cache.c @@ -547,7 +547,7 @@ struct aux_cache_file /* After this the string table of size len_strings is found. */ }; -static unsigned int primes[] = +static const unsigned int primes[] = { 1021, 2039, 4093, 8191, 16381, 32749, 65521, 131071, 262139, 524287, 1048573, 2097143, 4194301, 8388593, 16777213, 33554393, |