diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-22 09:50:27 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-22 09:50:45 +0200 |
commit | daa3fc9bff55c1f8368a464ec802ab620901344e (patch) | |
tree | 14c3a5a951a84aeff9d554ab5a77c13a4ec29521 /sysdeps/unix/sysv/linux | |
parent | ae830b2d9f5238e1bee9820cd4d4df7f7b13ecff (diff) | |
download | glibc-daa3fc9bff55c1f8368a464ec802ab620901344e.tar.gz glibc-daa3fc9bff55c1f8368a464ec802ab620901344e.tar.xz glibc-daa3fc9bff55c1f8368a464ec802ab620901344e.zip |
rt: Move generic implementation from sysdeps/pthread to rt
The pthread-based implementation is the generic one. Replacing the stubs makes it clear that they do not have to be adjusted for the libpthread move. Result of: git mv -f sysdeps/pthread/aio_misc.h sysdeps/generic/ git mv sysdeps/pthread/timer_routines.c sysdeps/htl/ git mv -f sysdeps/pthread/{aio,lio,timer}_*.c rt/ Followed by manual adjustment of the #include paths in sysdeps/unix/sysv/linux/wordsize-64, and a move of the version definitions formerly in sysdeps/pthread/Versions. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r-- | sysdeps/unix/sysv/linux/alpha/aio_cancel.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/sparc/aio_cancel.c | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/aio_read.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/aio_write.c | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/aio_cancel.c b/sysdeps/unix/sysv/linux/alpha/aio_cancel.c index 0d6da82919..9f69b080ed 100644 --- a/sysdeps/unix/sysv/linux/alpha/aio_cancel.c +++ b/sysdeps/unix/sysv/linux/alpha/aio_cancel.c @@ -10,7 +10,7 @@ extern __typeof (aio_cancel) __old_aio_cancel; #define aio_cancel __new_aio_cancel -#include <sysdeps/pthread/aio_cancel.c> +#include <rt/aio_cancel.c> #undef aio_cancel strong_alias (__new_aio_cancel, __new_aio_cancel64); @@ -23,7 +23,7 @@ versioned_symbol (librt, __new_aio_cancel64, aio_cancel64, GLIBC_2_3); #define aio_cancel __old_aio_cancel #define ECANCELED 125 -#include <sysdeps/pthread/aio_cancel.c> +#include <rt/aio_cancel.c> #undef aio_cancel strong_alias (__old_aio_cancel, __old_aio_cancel64); diff --git a/sysdeps/unix/sysv/linux/sparc/aio_cancel.c b/sysdeps/unix/sysv/linux/sparc/aio_cancel.c index 0d6da82919..9f69b080ed 100644 --- a/sysdeps/unix/sysv/linux/sparc/aio_cancel.c +++ b/sysdeps/unix/sysv/linux/sparc/aio_cancel.c @@ -10,7 +10,7 @@ extern __typeof (aio_cancel) __old_aio_cancel; #define aio_cancel __new_aio_cancel -#include <sysdeps/pthread/aio_cancel.c> +#include <rt/aio_cancel.c> #undef aio_cancel strong_alias (__new_aio_cancel, __new_aio_cancel64); @@ -23,7 +23,7 @@ versioned_symbol (librt, __new_aio_cancel64, aio_cancel64, GLIBC_2_3); #define aio_cancel __old_aio_cancel #define ECANCELED 125 -#include <sysdeps/pthread/aio_cancel.c> +#include <rt/aio_cancel.c> #undef aio_cancel strong_alias (__old_aio_cancel, __old_aio_cancel64); diff --git a/sysdeps/unix/sysv/linux/wordsize-64/aio_read.c b/sysdeps/unix/sysv/linux/wordsize-64/aio_read.c index d10fc4320b..8310b484d0 100644 --- a/sysdeps/unix/sysv/linux/wordsize-64/aio_read.c +++ b/sysdeps/unix/sysv/linux/wordsize-64/aio_read.c @@ -1,6 +1,6 @@ #define aio_read64 __renamed_aio_read64 -#include "../../../../pthread/aio_read.c" +#include <rt/aio_read.c> #undef aio_read64 diff --git a/sysdeps/unix/sysv/linux/wordsize-64/aio_write.c b/sysdeps/unix/sysv/linux/wordsize-64/aio_write.c index b0fb469cb2..60d242f88f 100644 --- a/sysdeps/unix/sysv/linux/wordsize-64/aio_write.c +++ b/sysdeps/unix/sysv/linux/wordsize-64/aio_write.c @@ -1,6 +1,6 @@ #define aio_write64 __renamed_aio_write64 -#include "../../../../pthread/aio_write.c" +#include <rt/aio_write.c> #undef aio_write64 diff --git a/sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c b/sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c index 25ee5a3507..be9fe7a9c7 100644 --- a/sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c +++ b/sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c @@ -1,6 +1,6 @@ #define lio_listio64 __renamed_lio_listio64 -#include "../../../../pthread/lio_listio.c" +#include <rt/lio_listio.c> #undef lio_listio64 |