diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:55:11 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:55:30 -0700 |
commit | 2f8a05d826f554210eb2bec8dd6344c9615e00d7 (patch) | |
tree | 621e4f40483a7dc7d15dec486498314b151cd765 /csu | |
parent | Hide internal __init_misc function [BZ #18822] (diff) | |
download | glibc-2f8a05d826f554210eb2bec8dd6344c9615e00d7.tar.gz glibc-2f8a05d826f554210eb2bec8dd6344c9615e00d7.tar.bz2 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.c | 2 |
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) { |