mirror of git://sourceware.org/git/glibc.git
Mark internal dirent functions with attribute_hidden to allow direct access within libc.so and libc.a without using GOT nor PLT. __readdir64 is hidden with libc_hidden_proto and libc_hidden_def since the exported readdir64 is an alias of __readdir64. [BZ #18822] * include/dirent.h (__opendir): Always add attribute_hidden. (__fdopendir): Likewise. (__closedir): Likewise. (__readdir): Likewise. (__readdir64): Add libc_hidden_proto. * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def. * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise. * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise. * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64): New alias. |
||
|---|---|---|
| .. | ||
| Versions | ||
| aio_read.c | ||
| aio_read64.c | ||
| aio_write.c | ||
| aio_write64.c | ||
| dl-fxstatat64.c | ||
| fstatfs64.c | ||
| fstatvfs.c | ||
| fstatvfs64.c | ||
| fxstat.c | ||
| fxstat64.c | ||
| fxstatat.c | ||
| fxstatat64.c | ||
| getdents.c | ||
| getdents64.c | ||
| getdirentries.c | ||
| getdirentries64.c | ||
| internal_statvfs64.c | ||
| lio_listio.c | ||
| lio_listio64.c | ||
| lxstat.c | ||
| lxstat64.c | ||
| readdir.c | ||
| readdir64.c | ||
| readdir64_r.c | ||
| readdir_r.c | ||
| sendfile64.c | ||
| statfs64.c | ||
| statvfs.c | ||
| statvfs64.c | ||
| syscalls.list | ||
| xstat.c | ||
| xstat64.c | ||