glibc/sysdeps/unix/sysv/linux/arc
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
sys
arch-syscall.h Update syscall lists for Linux 5.8. 2020-08-07 14:38:43 +00:00
c++-types.data ARC: ABI lists 2020-07-10 16:08:44 -07:00
clone.S
configure Regenerate configure scripts. 2020-08-04 21:36:19 -04:00
configure.ac ARC: Build Infrastructure 2020-07-10 16:08:45 -07:00
dl-static.c ARC: Linux Startup and Dynamic Loading 2020-07-10 16:08:44 -07:00
fixup-asm-unistd.h
getcontext.S
Implies ARC: Build Infrastructure 2020-07-10 16:08:45 -07:00
jmp_buf-macros.h
kernel_stat.h linux: Define STAT64_IS_KERNEL_STAT64 2020-09-11 14:35:11 -03:00
kernel-features.h
ld.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
ldconfig.h ARC: Build Infrastructure 2020-07-10 16:08:45 -07:00
ldsodefs.h ARC: Linux Startup and Dynamic Loading 2020-07-10 16:08:44 -07:00
libanl.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libBrokenLocale.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libc.abilist Remove stat wrapper functions, move them to exported symbols 2020-10-09 17:02:06 -03:00
libcrypt.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libdl.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libm.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libpthread.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libresolv.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
librt.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libthread_db.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
libutil.abilist ARC: ABI lists 2020-07-10 16:08:44 -07:00
localplt.data ARC: ABI lists 2020-07-10 16:08:44 -07:00
makecontext.c
Makefile ARC: Build Infrastructure 2020-07-10 16:08:45 -07:00
mmap_internal.h
setcontext.S
shlib-versions ARC: Build Infrastructure 2020-07-10 16:08:45 -07:00
sigaction.c
sigcontextinfo.h
sigrestorer.S
swapcontext.S
syscall.S
syscalls.list
sysdep.c
sysdep.h
ucontext_i.sym
ucontext-macros.h
Versions ARC: Build Infrastructure 2020-07-10 16:08:45 -07:00
vfork.S