1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* 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.
This commit is contained in:
Ulrich Drepper
2007-08-13 00:23:59 +00:00
parent 974a1f0fb2
commit 3c87d79db7
4 changed files with 27 additions and 7 deletions

View File

@ -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,