about summary refs log tree commit diff
path: root/rt/librt-compat.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-25 10:42:54 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-25 12:21:12 +0200
commit1a5a653be2f95d4d9485d08672dc5083c74c39d8 (patch)
tree690213469932b9a7b1ad7d99a93924761ab0d601 /rt/librt-compat.c
parent5b3a2abfb339738085dcd8d956b570b56d03b9ed (diff)
downloadglibc-1a5a653be2f95d4d9485d08672dc5083c74c39d8.tar.gz
glibc-1a5a653be2f95d4d9485d08672dc5083c74c39d8.tar.xz
glibc-1a5a653be2f95d4d9485d08672dc5083c74c39d8.zip
Linux: Move mq_unlink from librt to libc
The symbol was moved using scripts/move-symbol-to-libc.py.
A placeholder symbol is needed on some architectures for the
GLIBC_2.3.4 version.

Reviewed-by: Adhemerva Zanella  <adhemerval.zanella@linaro.org>
Diffstat (limited to 'rt/librt-compat.c')
-rw-r--r--rt/librt-compat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/rt/librt-compat.c b/rt/librt-compat.c
index ef353acdd1..24c2ed9db4 100644
--- a/rt/librt-compat.c
+++ b/rt/librt-compat.c
@@ -33,6 +33,12 @@ compat_symbol (librt, __librt_version_placeholder_1,
 # endif
 
 # if SHLIB_COMPAT (librt, GLIBC_2_4, GLIBC_2_34) \
+  && ABI_librt_GLIBC_2_3_4 != ABI_librt_GLIBC_2_1
+compat_symbol (librt, __librt_version_placeholder_1,
+               __librt_version_placeholder, GLIBC_2_3_4);
+# endif
+
+# if SHLIB_COMPAT (librt, GLIBC_2_4, GLIBC_2_34)        \
   && ABI_librt_GLIBC_2_4 != ABI_librt_GLIBC_2_1
 compat_symbol (librt, __librt_version_placeholder_1,
                __librt_version_placeholder, GLIBC_2_4);