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.
This commit is contained in:
parent
0e7d5b6e24
commit
c0769f7031
|
@ -1,3 +1,10 @@
|
||||||
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
[BZ #18822]
|
||||||
|
* include/glob.h (__glob64): Add libc_hidden_proto.
|
||||||
|
* sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
|
||||||
|
libc_hidden_def.
|
||||||
|
|
||||||
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #18822]
|
[BZ #18822]
|
||||||
|
|
|
@ -12,6 +12,7 @@ extern int __glob_pattern_p (const char *__pattern, int __quote);
|
||||||
extern int __glob64 (const char *__pattern, int __flags,
|
extern int __glob64 (const char *__pattern, int __flags,
|
||||||
int (*__errfunc) (const char *, int),
|
int (*__errfunc) (const char *, int),
|
||||||
glob64_t *__pglob);
|
glob64_t *__pglob);
|
||||||
|
libc_hidden_proto (__glob64)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
strong_alias (__glob64, glob64)
|
strong_alias (__glob64, glob64)
|
||||||
libc_hidden_def (glob64)
|
libc_hidden_def (glob64)
|
||||||
# else
|
# else
|
||||||
|
libc_hidden_def (__glob64)
|
||||||
versioned_symbol (libc, __glob64, glob64, GLIBC_2_27);
|
versioned_symbol (libc, __glob64, glob64, GLIBC_2_27);
|
||||||
libc_hidden_ver (__glob64, glob64)
|
libc_hidden_ver (__glob64, glob64)
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue