mirror of
https://sourceware.org/git/glibc.git
synced 2025-10-21 14:53:53 +03:00
linux: Move xmknod{at} to compat symbols
It also decouple mknod{at} from xmknod{at}. The riscv32 ABI was added on 2.33, so it is safe to remove the old __xmknot{at} symbols and just provide the newer mknod{at} ones. 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>
This commit is contained in:
@@ -80,10 +80,8 @@ libc_hidden_proto (__mknod);
|
||||
|
||||
extern int __xmknod (int __ver, const char *__path, __mode_t __mode,
|
||||
__dev_t *__dev);
|
||||
libc_hidden_proto (__xmknod)
|
||||
extern int __xmknodat (int __ver, int __fd, const char *__path,
|
||||
__mode_t __mode, __dev_t *__dev);
|
||||
libc_hidden_proto (__xmknodat)
|
||||
|
||||
int __fxstat (int __ver, int __fildes, struct stat *__stat_buf);
|
||||
int __xstat (int __ver, const char *__filename,
|
||||
@@ -109,6 +107,8 @@ hidden_proto (__xstat64);
|
||||
hidden_proto (__lxstat64);
|
||||
hidden_proto (__fxstatat64);
|
||||
# endif
|
||||
libc_hidden_proto (__xmknod)
|
||||
libc_hidden_proto (__xmknodat)
|
||||
# define stat(fname, buf) __xstat (_STAT_VER, fname, buf)
|
||||
# define lstat(fname, buf) __lxstat (_STAT_VER, fname, buf)
|
||||
# define __lstat(fname, buf) __lxstat (_STAT_VER, fname, buf)
|
||||
|
Reference in New Issue
Block a user