mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +08:00
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.
This commit is contained in:
parent
7bfd08ac5b
commit
2f8a05d826
@ -1,3 +1,8 @@
|
||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #18822]
|
||||
* csu/version.c (__libc_print_version): Add attribute_hidden.
|
||||
|
||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #18822]
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user