summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/xmknod.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-10-22 15:24:12 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-12-02 14:45:22 -0300
commitf147616d6891a3726ff39b7c3bc1539c86667626 (patch)
treebd5311dfe6400c394d1d23a61a9b7760ff4d0724 /sysdeps/unix/sysv/linux/xmknod.c
parent22edf4d4b2fe9bfb4bd7376467d0958e22b04f23 (diff)
downloadglibc-f147616d6891a3726ff39b7c3bc1539c86667626.tar.gz
glibc-f147616d6891a3726ff39b7c3bc1539c86667626.tar.xz
glibc-f147616d6891a3726ff39b7c3bc1539c86667626.zip
Revert "linux: Move xmknod{at} to compat symbols"
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/xmknod.c')
-rw-r--r--sysdeps/unix/sysv/linux/xmknod.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/xmknod.c b/sysdeps/unix/sysv/linux/xmknod.c
index 10e874a514..0a23a1237c 100644
--- a/sysdeps/unix/sysv/linux/xmknod.c
+++ b/sysdeps/unix/sysv/linux/xmknod.c
@@ -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