mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
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>
This commit is contained in:
@@ -30,7 +30,6 @@ routines = \
|
||||
|
||||
librt-routines = \
|
||||
librt-compat \
|
||||
mq_unlink \
|
||||
timer_create \
|
||||
timer_delete \
|
||||
timer_getoverr \
|
||||
@@ -63,6 +62,7 @@ $(librt-routines-var) += \
|
||||
mq_setattr \
|
||||
mq_timedreceive \
|
||||
mq_timedsend \
|
||||
mq_unlink \
|
||||
|
||||
tests := tst-shm tst-timer tst-timer2 \
|
||||
tst-aio tst-aio64 tst-aio2 tst-aio3 tst-aio4 tst-aio5 tst-aio6 \
|
||||
|
@@ -35,6 +35,7 @@ libc {
|
||||
mq_setattr;
|
||||
mq_timedreceive;
|
||||
mq_timedsend;
|
||||
mq_unlink;
|
||||
%endif
|
||||
}
|
||||
GLIBC_2.4 {
|
||||
@@ -77,6 +78,7 @@ libc {
|
||||
mq_setattr;
|
||||
mq_timedreceive;
|
||||
mq_timedsend;
|
||||
mq_unlink;
|
||||
%endif
|
||||
shm_open;
|
||||
shm_unlink;
|
||||
@@ -127,7 +129,9 @@ librt {
|
||||
timer_settime;
|
||||
}
|
||||
GLIBC_2.3.4 {
|
||||
%if !PTHREAD_IN_LIBC
|
||||
%if PTHREAD_IN_LIBC
|
||||
__librt_version_placeholder;
|
||||
%else
|
||||
mq_close;
|
||||
mq_getattr;
|
||||
mq_notify;
|
||||
@@ -137,8 +141,8 @@ librt {
|
||||
mq_setattr;
|
||||
mq_timedreceive;
|
||||
mq_timedsend;
|
||||
%endif
|
||||
mq_unlink;
|
||||
%endif
|
||||
}
|
||||
GLIBC_2.4 {
|
||||
%if PTHREAD_IN_LIBC
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user