diff options
author | Florian Weimer <fweimer@redhat.com> | 2021-06-25 10:30:36 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2021-06-25 12:19:57 +0200 |
commit | 3353a5a4cfcdc6ef58e1ec036bd3f47ebcc16f3c (patch) | |
tree | e7995b410bd72d8e5a156868f4a3f514bf44923a /sysdeps | |
parent | 496919b12f2dc0733e215cc2f08266474c87719e (diff) | |
download | glibc-3353a5a4cfcdc6ef58e1ec036bd3f47ebcc16f3c.tar.gz glibc-3353a5a4cfcdc6ef58e1ec036bd3f47ebcc16f3c.tar.xz glibc-3353a5a4cfcdc6ef58e1ec036bd3f47ebcc16f3c.zip |
rt: Rework lio_listio implementation
Move the common code into rt/lio_listio-common.c and include the file in both rt/lio_listio.c and rt/lio_listio64.c. The common code automatically defines both public symbols for __WORDSIZE == 64. Reviewed-by: Adhemerva Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c | 13 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c b/sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c deleted file mode 100644 index be9fe7a9c7..0000000000 --- a/sysdeps/unix/sysv/linux/wordsize-64/lio_listio.c +++ /dev/null @@ -1,13 +0,0 @@ -#define lio_listio64 __renamed_lio_listio64 - -#include <rt/lio_listio.c> - -#undef lio_listio64 - -#if SHLIB_COMPAT (librt, GLIBC_2_1, GLIBC_2_4) -strong_alias (__lio_listio_21, __lio_listio64_21) -compat_symbol (librt, __lio_listio64_21, lio_listio64, GLIBC_2_1); -#endif - -strong_alias (__lio_listio_item_notify, __lio_listio64_item_notify) -versioned_symbol (librt, __lio_listio64_item_notify, lio_listio64, GLIBC_2_4); diff --git a/sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c b/sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c deleted file mode 100644 index 1dabae3692..0000000000 --- a/sysdeps/unix/sysv/linux/wordsize-64/lio_listio64.c +++ /dev/null @@ -1 +0,0 @@ -/* Defined in lio_listio.c. */ |