From 3fe3f8076e4e0d3f5cd27f85dc0aa76b2f625917 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 25 Jun 2021 10:30:36 +0200 Subject: Linux: Move lio_listio, lio_listio64 from librt to libc The symbols were moved using scripts/move-symbol-to-libc.py. Placeholder symbols are needed on some architectures, to keep the GLIBC_2.1 and GLIBC_2.4 symbol versions around. Reviewed-by: Adhemerva Zanella --- rt/Versions | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'rt/Versions') diff --git a/rt/Versions b/rt/Versions index f2b4ced257..0565707456 100644 --- a/rt/Versions +++ b/rt/Versions @@ -16,12 +16,20 @@ libc { aio_suspend64; aio_write; aio_write64; + lio_listio; + lio_listio64; %endif } GLIBC_2.2 { shm_open; shm_unlink; } + GLIBC_2.4 { +%if PTHREAD_IN_LIBC + lio_listio; + lio_listio64; +%endif + } GLIBC_2.34 { %if PTHREAD_IN_LIBC aio_cancel; @@ -39,6 +47,8 @@ libc { aio_suspend64; aio_write; aio_write64; + lio_listio; + lio_listio64; %endif shm_open; shm_unlink; @@ -59,7 +69,9 @@ libc { } librt { GLIBC_2.1 { -%if !PTHREAD_IN_LIBC +%if PTHREAD_IN_LIBC + __librt_version_placeholder; +%else aio_cancel; aio_cancel64; aio_error; @@ -75,9 +87,9 @@ librt { aio_suspend64; aio_write; aio_write64; -%endif lio_listio; lio_listio64; +%endif } GLIBC_2.2 { timer_create; @@ -99,8 +111,12 @@ librt { mq_unlink; } GLIBC_2.4 { +%if PTHREAD_IN_LIBC + __librt_version_placeholder; +%else lio_listio; lio_listio64; +%endif } GLIBC_2.7 { __mq_open_2; -- cgit v1.2.3