From 3c87d79db7ae1f65294d088be7709140780b652c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 13 Aug 2007 00:23:59 +0000 Subject: * 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. --- elf/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') diff --git a/elf/cache.c b/elf/cache.c index 180adea..9a600ea 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, -- cgit v1.1