* [PATCH 2/3] x86: Mark VDSO_SYMBOL(getcpu) with attribute_hidden [BZ #18822]
@ 2017-08-18 16:28 H.J. Lu
2017-08-21 12:38 ` Florian Weimer
0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 2017-08-18 16:28 UTC (permalink / raw)
To: GNU C Library
VDSO_SYMBOL(getcpu) is defined as hidden in Linux/x86_64 init-first.c
and unused for Linux/i386.
OK for master?
H.J.
---
[BZ #18822]
* sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
Add attribute_hidden.
---
sysdeps/unix/sysv/linux/x86/libc-vdso.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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
--
2.13.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 2/3] x86: Mark VDSO_SYMBOL(getcpu) with attribute_hidden [BZ #18822]
2017-08-18 16:28 [PATCH 2/3] x86: Mark VDSO_SYMBOL(getcpu) with attribute_hidden [BZ #18822] H.J. Lu
@ 2017-08-21 12:38 ` Florian Weimer
0 siblings, 0 replies; 2+ messages in thread
From: Florian Weimer @ 2017-08-21 12:38 UTC (permalink / raw)
To: H.J. Lu, GNU C Library
On 08/18/2017 06:28 PM, H.J. Lu wrote:
> * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
> Add attribute_hidden.
Looks okay.
Florian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-08-21 12:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-18 16:28 [PATCH 2/3] x86: Mark VDSO_SYMBOL(getcpu) with attribute_hidden [BZ #18822] H.J. Lu
2017-08-21 12:38 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).