From 22edf4d4b2fe9bfb4bd7376467d0958e22b04f23 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Wed, 2 Dec 2020 13:51:57 -0300 Subject: Revert "linux: Move {f}xstat{at} to compat symbols" This reverts commit 20b39d59467b0c1d858e89ded8b0cebe55e22f60 to move {f}xstat{at} back to default symbols. ABIs with default symbol version of 2.33 or newer (such as riscv32) continue to just provide the stat symbols. The idea is to not force static libraries built against old glibc to update against new glibcs (since they reference the old {f}xstat{at} symbols). Checked on x86_64-linux-gnu and i686-linux-gnu. --- sysdeps/unix/sysv/linux/fxstatat.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sysdeps/unix/sysv/linux/fxstatat.c') diff --git a/sysdeps/unix/sysv/linux/fxstatat.c b/sysdeps/unix/sysv/linux/fxstatat.c index 2083e18eac..bd78971dea 100644 --- a/sysdeps/unix/sysv/linux/fxstatat.c +++ b/sysdeps/unix/sysv/linux/fxstatat.c @@ -30,7 +30,6 @@ /* Get information about the file FD in BUF. */ int -attribute_compat_text_section __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag) { #if STAT_IS_KERNEL_STAT @@ -51,7 +50,6 @@ __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag) #endif } -compat_symbol (libc, __fxstatat, __fxstatat, GLIBC_2_4); # endif /* SHLIB_COMPAT */ #endif /* XSTAT_IS_XSTAT64 */ -- cgit 1.4.1