glibc/sysdeps/unix/sysv/linux/riscv
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
..
bits
rv32 Remove stat wrapper functions, move them to exported symbols 2020-10-09 17:02:06 -03:00
rv64 Remove stat wrapper functions, move them to exported symbols 2020-10-09 17:02:06 -03:00
sys
Implies
Makefile RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
Versions
atomic-machine.h
clone.S
configure RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
configure.ac RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
dl-cache.h
flush-icache.c
getcontext.S
jmp_buf-macros.h
kernel-features.h
kernel_stat.h
ldconfig.h
ldd-rewrite.sed RISC-V: Add rv32 path to RTLDLIST in ldd 2020-08-27 08:17:43 -07:00
localplt.data Allow memset local PLT reference for RISC-V. 2020-09-17 10:51:43 -07:00
makecontext.c
readelflib.c
register-dump.h
setcontext.S
shlib-versions RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
sigcontextinfo.h
swapcontext.S
syscall.c
sysdep.S
sysdep.h
ucontext-macros.h
ucontext_i.sym
vfork.S