mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
i386: Hide __old_readdir64 [BZ #18822]
Hide internal __old_readdir64 function to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64): Add libc_hidden_proto. * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64): Add libc_hidden_def.
This commit is contained in:
@ -39,5 +39,7 @@ versioned_symbol (libc, __readdir64, readdir64, GLIBC_2_2);
|
||||
|
||||
#include <sysdeps/posix/readdir.c>
|
||||
|
||||
libc_hidden_def (__old_readdir64)
|
||||
|
||||
compat_symbol (libc, __old_readdir64, readdir64, GLIBC_2_1);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user