diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-08-21 05:40:33 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-08-21 05:40:45 -0700 |
commit | 483d70687919ab42c3c6498a99e51b210e5f45ca (patch) | |
tree | 1d127af81a9203413aeff073e825a3a2545ef88d | |
parent | 7b3ce39538c890442a2e46b57bf1911ef7ab8ff8 (diff) | |
download | glibc-483d70687919ab42c3c6498a99e51b210e5f45ca.tar.gz glibc-483d70687919ab42c3c6498a99e51b210e5f45ca.tar.xz glibc-483d70687919ab42c3c6498a99e51b210e5f45ca.zip |
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.
-rw-r--r-- | ChangeLog | 14 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/x86/libc-vdso.h | 3 |
2 files changed, 16 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 4f34d4bff0..d25a8fd56c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,20 @@ 2017-08-21 H.J. Lu <hongjiu.lu@intel.com> [BZ #18822] + * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)): + Add attribute_hidden. + +2017-08-21 H.J. Lu <hongjiu.lu@intel.com> + + [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 <hongjiu.lu@intel.com> + + [BZ #18822] * csu/libc-start.c (__libc_multiple_libcs): Removed. * elf/dl-open.c: Include <libc-internal.h>. (__libc_multiple_libcs): Removed. diff --git a/sysdeps/unix/sysv/linux/x86/libc-vdso.h b/sysdeps/unix/sysv/linux/x86/libc-vdso.h index 6cc3285461..89c70b4e42 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 |