1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-12 19:04:54 +03:00

Revert "linux: Move xmknod{at} to compat symbols"

This reverts commit 81b83ff61f 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.
This commit is contained in:
Adhemerval Zanella
2020-10-22 15:24:12 -03:00
parent 22edf4d4b2
commit f147616d68
2 changed files with 0 additions and 5 deletions

View File

@@ -27,7 +27,6 @@
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)
@@ -35,6 +34,4 @@ __xmknod (int vers, const char *path, mode_t mode, dev_t *dev)
return __mknodat (AT_FDCWD, path, mode, *dev);
}
compat_symbol (libc, __xmknod, __xmknod, GLIBC_2_0);
#endif

View File

@@ -32,6 +32,4 @@ __xmknodat (int vers, int fd, const char *file, mode_t mode, dev_t *dev)
return __mknodat (fd, file, mode, *dev);
}
compat_symbol (libc, __xmknodat, __xmknodat, GLIBC_2_4);
#endif