mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
4587a421c5
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. |
||
---|---|---|
.. | ||
hurd | ||
i386 | ||
sys | ||
_strerror.c | ||
adjtime.c | ||
configure | ||
configure.ac | ||
getloadavg.c | ||
getpagesize.c | ||
getsysstats.c | ||
gettimeofday.c | ||
libc-lock.h | ||
Makefile | ||
mprotect.c | ||
msync.c | ||
munmap.c | ||
nanosleep.c | ||
pagecopy.h | ||
readonly-area.c | ||
sched_yield.c | ||
sleep.c | ||
strerror_l.c | ||
Subdirs | ||
sysdep.h | ||
thread_state.h | ||
usleep.c | ||
xpg-strerror.c |