aboutsummaryrefslogtreecommitdiff
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
commit983f43b57bc347717aca85616cbce731c7494ca3 (patch)
tree00ac99fcdc97adf8ee089da057c3998c560362ba /rt/librt-compat.c
parent2da5f22fff639e891b9f516724683d9d7ad1511c (diff)
downloadglibc-983f43b57bc347717aca85616cbce731c7494ca3.zip
glibc-983f43b57bc347717aca85616cbce731c7494ca3.tar.gz
glibc-983f43b57bc347717aca85616cbce731c7494ca3.tar.bz2
Linux: Move mq_open, __mq_open_2 from librt to libc
The symbols were moved using scripts/move-symbol-to-libc.py. A placeholder symbol is required to keep the GLIBC_2.7 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 23c87b0..ef353ac 100644
--- a/rt/librt-compat.c
+++ b/rt/librt-compat.c
@@ -38,4 +38,10 @@ compat_symbol (librt, __librt_version_placeholder_1,
__librt_version_placeholder, GLIBC_2_4);
# endif
+# if SHLIB_COMPAT (librt, GLIBC_2_7, GLIBC_2_34) \
+ && ABI_librt_GLIBC_2_7 != ABI_librt_GLIBC_2_4
+compat_symbol (librt, __librt_version_placeholder_1,
+ __librt_version_placeholder, GLIBC_2_7);
+# endif
+
#endif