]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86: Mark VDSO_SYMBOL(getcpu) with attribute_hidden [BZ #18822]
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 21 Aug 2017 12:40:33 +0000 (05:40 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 21 Aug 2017 12:40:45 +0000 (05:40 -0700)
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.

ChangeLog
sysdeps/unix/sysv/linux/x86/libc-vdso.h

index 4f34d4bff02b1af6d02f0461431310107399d021..d25a8fd56c0dd86539c0e81696fb5e75577af0d4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+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]
index 6cc3285461887d89942e7218ff85e66995bbd634..89c70b4e426d6cd8021e80c810e4b7d3ea916b21 100644 (file)
@@ -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