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 RISC-V: Use 64-bit time_t and off_t for RV32 and RV64 2020-08-27 08:17:41 -07:00
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
atomic-machine.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
clone.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
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 RISC-V: Add path of library directories for the 32-bit 2020-08-27 08:17:42 -07:00
flush-icache.c elf: Move vDSO setup to rtld (BZ#24967) 2020-01-03 11:22:07 -03:00
getcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Implies RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
jmp_buf-macros.h RISC-V: Support the 32-bit ABI implementation 2020-08-27 08:17:42 -07:00
kernel_stat.h RISC-V: Use 64-bit time_t and off_t for RV32 and RV64 2020-08-27 08:17:41 -07:00
kernel-features.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ldconfig.h RISC-V: Support dynamic loader for the 32-bit 2020-08-27 08:17:42 -07:00
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
readelflib.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
register-dump.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
shlib-versions RISC-V: Build infrastructure for 32-bit port 2020-08-27 08:17:43 -07:00
sigcontextinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
swapcontext.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
syscall.c linux: Remove INTERNAL_SYSCALL_DECL 2020-02-14 21:12:45 -03:00
sysdep.h RISC-V: Add support for 32-bit vDSO calls 2020-08-27 08:17:42 -07:00
sysdep.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ucontext_i.sym RISC-V: Linux ABI 2018-01-29 10:37:27 -08:00
ucontext-macros.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions RISC-V: Build Infastructure 2018-01-29 10:43:15 -08:00
vfork.S Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00