diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 18:01:54 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 18:02:10 -0700 |
commit | c0769f7031b8293e7dc2762bff98d75691fe6a0d (patch) | |
tree | 9453944d039213076b914392152ae8b73dd6ad3b /sysdeps/unix/sysv/linux | |
parent | 0e7d5b6e241b3e367b806f65f6df1e7469af68fa (diff) | |
download | glibc-c0769f7031b8293e7dc2762bff98d75691fe6a0d.tar.gz glibc-c0769f7031b8293e7dc2762bff98d75691fe6a0d.tar.xz glibc-c0769f7031b8293e7dc2762bff98d75691fe6a0d.zip |
Hide internal __glob64 function [BZ #18822]
Hide internal __glob64 function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/glob.h (__glob64): Add libc_hidden_proto. * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add libc_hidden_def.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/glob64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/glob64.c b/sysdeps/unix/sysv/linux/glob64.c index 0189d1c77d..0239425e10 100644 --- a/sysdeps/unix/sysv/linux/glob64.c +++ b/sysdeps/unix/sysv/linux/glob64.c @@ -44,6 +44,7 @@ strong_alias (__glob64, glob64) libc_hidden_def (glob64) # else +libc_hidden_def (__glob64) versioned_symbol (libc, __glob64, glob64, GLIBC_2_27); libc_hidden_ver (__glob64, glob64) # endif |