aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/lseek64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/lseek64.c')
-rw-r--r--sysdeps/unix/sysv/linux/lseek64.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/lseek64.c b/sysdeps/unix/sysv/linux/lseek64.c
index 44efb70aea..4b7c8b77e3 100644
--- a/sysdeps/unix/sysv/linux/lseek64.c
+++ b/sysdeps/unix/sysv/linux/lseek64.c
@@ -48,6 +48,9 @@ strong_alias (__lseek64, __libc_lseek64)
weak_alias (__lseek64, lseek64)
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)
-strong_alias (__lseek64, __compat_llseek)
-compat_symbol (libc, __compat_llseek, llseek, GLIBC_2_0);
+compat_symbol (libc, __lseek64, llseek, GLIBC_2_0);
+#endif
+
+#if !IS_IN(rtld) && OTHER_SHLIB_COMPAT (libpthread, GLIBC_2_1, GLIBC_2_2)
+compat_symbol (libc, __lseek64, lseek64, GLIBC_2_2);
#endif