mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 19:00:07 +00:00
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.
This commit is contained in:
parent
7b3ce39538
commit
483d706879
14
ChangeLog
14
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]
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user