mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
i386: Hide __old_glob64 [BZ #18822]
Hide internal __old_glob64 function to allow direct access within
libc.so and libc.a without using GOT nor PLT.
[BZ #18822]
* sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
libc_hidden_proto and libc_hidden_def.
(cherry picked from commit 2585d7b839
)
This commit is contained in:
parent
7bd7ddfab1
commit
2b54f16a8a
@ -1,3 +1,9 @@
|
||||
2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
[BZ #18822]
|
||||
* sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
|
||||
libc_hidden_proto and libc_hidden_def.
|
||||
|
||||
2017-03-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||
|
||||
[BZ #21232]
|
||||
|
@ -53,6 +53,7 @@ libc_hidden_ver (__glob64, glob64)
|
||||
int __old_glob64 (const char *__pattern, int __flags,
|
||||
int (*__errfunc) (const char *, int),
|
||||
glob64_t *__pglob);
|
||||
libc_hidden_proto (__old_glob64);
|
||||
|
||||
#undef dirent
|
||||
#define dirent __old_dirent64
|
||||
@ -72,5 +73,7 @@ int __old_glob64 (const char *__pattern, int __flags,
|
||||
|
||||
#include <posix/glob.c>
|
||||
|
||||
libc_hidden_def (__old_glob64);
|
||||
|
||||
compat_symbol (libc, __old_glob64, glob64, GLIBC_2_1);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user