glibc/sysdeps/posix
Adhemerval Zanella 8ed005daf0 Remove stat wrapper functions, move them to exported symbols
This patch removes the stat, stat64, lstat, lstat64, fstat, fstat64,
fstatat, and fstatat64 static wrapper and add the symbol on the libc
with the expected names.

Both the prototypes of the internal symbol linked by the static
wrappers and the inline redirectors are also removed from the installed
sys/stat.h header file.  The wrapper implementation license LGPL
exception is also removed since it is no longer statically linked to
binaries.

Internally the _STAT_VER* definitions are moved to a arch-specific
xstatver.h file.  The internal defines that redirects internals
{f}stat{at} to their {f}xstat{at} counterparts are removed for Linux
(!NO_RTLD_HIDDEN).  Hurd still requires them since {f}stat{at} pulls
extra objects that makes the loader build fail otherwise (I haven't
dig into why exactly).

Checked with a build for all affected ABIs. I also checked on x86_64,
i686, powerpc, powerpc64le, sparcv9, sparc64, s390, and s390x.

Reviewed-by: Lukasz Majewski <lukma@denx.de>
2020-10-09 17:02:06 -03:00
..
alarm.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
clock_getres.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
clock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
closedir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ctermid.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
cuserid.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dirfd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dirstream.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dl-fileid.h Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
dup2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
euidaccess.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
fdopendir.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
flock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fpathconf.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
gai_strerror-strs.h * sysdeps/posix/gai_strerror.c: Complete rewrite. Avoid relocations. 2005-12-20 17:53:00 +00:00
gai_strerror.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getaddrinfo.c Remove stat wrapper functions, move them to exported symbols 2020-10-09 17:02:06 -03:00
getcwd.c Use LFS readdir in generic POSIX getcwd [BZ# 22899] 2020-09-02 09:16:05 -03:00
getdtsz.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gethostname.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getpagesize.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
isatty.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
isfdtype.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
killpg.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libc_fatal.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile NPTL: Refactor named semaphore code to use shm-directory.h 2014-12-12 15:01:30 -08:00
mkfifo.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
mkfifoat.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
nice.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
open64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
opendir.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
pathconf.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
pause.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
posix_fallocate64.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
posix_fallocate.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
pread64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pread.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
preadv2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
preadv64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
preadv64v2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
preadv_common.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
preadv.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
profil.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwrite64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwrite.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwritev2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwritev64.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwritev64v2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwritev_common.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pwritev.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
raise.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readdir_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readdir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
readv.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
remove.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rename.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
rewinddir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
seekdir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shm_open.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shm_unlink.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shm-directory.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shm-directory.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigblock.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigignore.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigintr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
signal.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigpause.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigset.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigsetmask.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigsuspend.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigwait.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sleep.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
spawni.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sprofil.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Subdirs Make sysdeps/posix bring in login subdir. 2015-07-23 17:04:22 -07:00
sysconf.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
system.c posix: Fix system error return value [BZ #25715] 2020-03-23 18:00:38 -03:00
sysv_signal.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
telldir.c linux: Use internal DIR locks when accessing filepos on telldir 2020-05-27 11:55:00 -03:00
tempname.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
truncate.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ttyname_r.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ttyname.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ulimit.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
usleep.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utime.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
utimes.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
writev_nocancel.c hurd: Fix __writev_nocancel_nostatus 2020-06-14 17:45:04 +00:00
writev.c hurd: Fix __writev_nocancel_nostatus 2020-06-14 17:45:04 +00:00