From: H.J. Lu Date: Mon, 21 Aug 2017 12:40:33 +0000 (-0700) Subject: x86: Mark VDSO_SYMBOL(getcpu) with attribute_hidden [BZ #18822] X-Git-Tag: glibc-2.27~1114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=483d70687919ab42c3c6498a99e51b210e5f45ca;p=thirdparty%2Fglibc.git x86: Mark VDSO_SYMBOL(getcpu) with attribute_hidden [BZ #18822] VDSO_SYMBOL(getcpu) is defined as hidden in Linux/x86_64 init-first.c and unused for Linux/i386. [BZ #18822] * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)): Add attribute_hidden. --- diff --git a/ChangeLog b/ChangeLog index 4f34d4bff02..d25a8fd56c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2017-08-21 H.J. Lu + + [BZ #18822] + * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)): + Add attribute_hidden. + +2017-08-21 H.J. Lu + + [BZ #21864] + * Makerules (all-nonlib): Add $(others-extras). + * catgets/Makefile (others-extras): New. + * elf/Makefile (others-extras): Likewise. + * nss/Makefile (others-extras): Likewise. + 2017-08-21 H.J. Lu [BZ #18822] diff --git a/sysdeps/unix/sysv/linux/x86/libc-vdso.h b/sysdeps/unix/sysv/linux/x86/libc-vdso.h index 6cc32854618..89c70b4e426 100644 --- a/sysdeps/unix/sysv/linux/x86/libc-vdso.h +++ b/sysdeps/unix/sysv/linux/x86/libc-vdso.h @@ -29,7 +29,8 @@ extern long int (*VDSO_SYMBOL(clock_gettime)) (clockid_t, struct timespec *) attribute_hidden; -extern long int (*VDSO_SYMBOL(getcpu)) (unsigned *, unsigned *, void *); +extern long int (*VDSO_SYMBOL(getcpu)) (unsigned *, unsigned *, void *) + attribute_hidden; #endif