[56/58] Hide internal __glob64 function [BZ #18822]
Commit Message
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/i386/glob64.c (__glob64): Add
libc_hidden_def.
---
include/glob.h | 1 +
sysdeps/unix/sysv/linux/i386/glob64.c | 1 +
2 files changed, 2 insertions(+)
@@ -12,6 +12,7 @@ extern int __glob_pattern_p (const char *__pattern, int __quote);
extern int __glob64 (const char *__pattern, int __flags,
int (*__errfunc) (const char *, int),
glob64_t *__pglob);
+libc_hidden_proto (__glob64)
#endif
#endif
@@ -43,6 +43,7 @@
libc_hidden_def (globfree64)
+libc_hidden_def (__glob64)
versioned_symbol (libc, __glob64, glob64, GLIBC_2_2);
libc_hidden_ver (__glob64, glob64)