about summary refs log tree commit diff
path: root/csu
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:55:11 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:55:30 -0700
commit2f8a05d826f554210eb2bec8dd6344c9615e00d7 (patch)
tree621e4f40483a7dc7d15dec486498314b151cd765 /csu
parent7bfd08ac5be538a2beaa48f029944e01fb3b5d7a (diff)
downloadglibc-2f8a05d826f554210eb2bec8dd6344c9615e00d7.tar.gz
glibc-2f8a05d826f554210eb2bec8dd6344c9615e00d7.tar.xz
glibc-2f8a05d826f554210eb2bec8dd6344c9615e00d7.zip
Hide internal __libc_print_version function [BZ #18822]
Hide internal __libc_print_version function to allow direct access
within libc.so and libc.a without using GOT nor PLT.

	[BZ #18822]
	* csu/version.c (__libc_print_version): Add attribute_hidden.
Diffstat (limited to 'csu')
-rw-r--r--csu/version.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/csu/version.c b/csu/version.c
index 8e86d495c5..a88cc2d0c0 100644
--- a/csu/version.c
+++ b/csu/version.c
@@ -38,7 +38,7 @@ LIBC_ABIS_STRING
 
 #include <unistd.h>
 
-extern void __libc_print_version (void);
+extern void __libc_print_version (void) attribute_hidden;
 void
 __libc_print_version (void)
 {