From c0769f7031b8293e7dc2762bff98d75691fe6a0d Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Sun, 1 Oct 2017 18:01:54 -0700 Subject: 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. --- include/glob.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/glob.h b/include/glob.h index 228fe30..1d2f787 100644 --- a/include/glob.h +++ b/include/glob.h @@ -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 -- cgit v1.1