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:
@ -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,
|
||||
|
Reference in New Issue
Block a user