This reverts commit
81b83ff61f95f30ad53d6075247af0ea61a0b16e to move
__xmknod{at} back to default symbols. ABIs with default symbol version
of 2.33 or newer (such as riscv32) continue to just provide the mknod*
symbols.
The idea is to not force static libraries built against old glibc
to update against new glibcs (since they reference the the
xmknod{at} symbols).
Checked on x86_64-linux-gnu and i686-linux-gnu.
and device number DEV (which can be constructed from major and minor
device numbers with the `makedev' macro above). */
int
-attribute_compat_text_section
__xmknod (int vers, const char *path, mode_t mode, dev_t *dev)
{
if (vers != _MKNOD_VER)
return __mknodat (AT_FDCWD, path, mode, *dev);
}
-
-compat_symbol (libc, __xmknod, __xmknod, GLIBC_2_0);
#endif
return __mknodat (fd, file, mode, *dev);
}
-
-compat_symbol (libc, __xmknodat, __xmknodat, GLIBC_2_4);
#endif