mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 07:20:11 +00:00
8ed005daf0
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> |
||
---|---|---|
.. | ||
bits | ||
sys | ||
arch-syscall.h | ||
c++-types.data | ||
clone.S | ||
configure | ||
configure.ac | ||
dl-static.c | ||
fixup-asm-unistd.h | ||
getcontext.S | ||
Implies | ||
jmp_buf-macros.h | ||
kernel_stat.h | ||
kernel-features.h | ||
ld.abilist | ||
ldconfig.h | ||
ldsodefs.h | ||
libanl.abilist | ||
libBrokenLocale.abilist | ||
libc.abilist | ||
libcrypt.abilist | ||
libdl.abilist | ||
libm.abilist | ||
libpthread.abilist | ||
libresolv.abilist | ||
librt.abilist | ||
libthread_db.abilist | ||
libutil.abilist | ||
localplt.data | ||
makecontext.c | ||
Makefile | ||
mmap_internal.h | ||
setcontext.S | ||
shlib-versions | ||
sigaction.c | ||
sigcontextinfo.h | ||
sigrestorer.S | ||
swapcontext.S | ||
syscall.S | ||
syscalls.list | ||
sysdep.c | ||
sysdep.h | ||
ucontext_i.sym | ||
ucontext-macros.h | ||
Versions | ||
vfork.S |