mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Revert "linux: Move {f}xstat{at} to compat symbols"
This reverts commit 20b39d5946
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.
This commit is contained in:
@ -21,13 +21,9 @@
|
||||
#include <kernel_stat.h>
|
||||
#include <sysdep.h>
|
||||
#include <xstatconv.h>
|
||||
#include <shlib-compat.h>
|
||||
|
||||
#if SHLIB_COMPAT(libc, GLIBC_2_0, GLIBC_2_33)
|
||||
|
||||
/* Get information about the file NAME in BUF. */
|
||||
int
|
||||
attribute_compat_text_section
|
||||
__lxstat (int vers, const char *name, struct stat *buf)
|
||||
{
|
||||
switch (vers)
|
||||
@ -43,7 +39,3 @@ __lxstat (int vers, const char *name, struct stat *buf)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
compat_symbol (libc, __lxstat, __lxstat, GLIBC_2_0);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user