linux: Move xmknod{at} to compat symbols
commit81b83ff61f95f30ad53d6075247af0ea61a0b16e
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 21 Jul 2020 18:53:53 +0000 (21 15:53 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 9 Oct 2020 20:02:07 +0000 (9 17:02 -0300)
tree8d1eb0eaa4170a5af411253e667016efb314b9d5
parentaa03f722f3b994aaf81e72a8904bf33196780930
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>
include/sys/stat.h
sysdeps/mach/hurd/xmknod.c
sysdeps/mach/hurd/xmknodat.c
sysdeps/unix/sysv/linux/mknod.c [copied from sysdeps/mach/hurd/xmknod.c with 61% similarity]
sysdeps/unix/sysv/linux/mknodat.c [copied from sysdeps/mach/hurd/xmknod.c with 62% similarity]
sysdeps/unix/sysv/linux/riscv/rv32/libc.abilist
sysdeps/unix/sysv/linux/xmknod.c
sysdeps/unix/sysv/linux/xmknodat.c