diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-07-21 15:53:53 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-10-09 17:02:07 -0300 |
commit | 81b83ff61f95f30ad53d6075247af0ea61a0b16e (patch) | |
tree | 8d1eb0eaa4170a5af411253e667016efb314b9d5 /include | |
parent | aa03f722f3b994aaf81e72a8904bf33196780930 (diff) | |
download | glibc-81b83ff61f95f30ad53d6075247af0ea61a0b16e.tar.gz glibc-81b83ff61f95f30ad53d6075247af0ea61a0b16e.tar.xz glibc-81b83ff61f95f30ad53d6075247af0ea61a0b16e.zip |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/stat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h index 9f7f3a8e3b..646a1622b3 100644 --- a/include/sys/stat.h +++ b/include/sys/stat.h @@ -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) |