diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-03-14 16:42:08 -0300 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2017-11-30 13:46:09 +0100 |
commit | 7bd7ddfab138f67a1d8c10d4d70f16240a1c6796 (patch) | |
tree | 2be0870532daa3047dffe475795320f860eea9c6 /sysdeps/unix | |
parent | b0afcf5db758747c2e563a1db0af6db7a1927746 (diff) | |
download | glibc-7bd7ddfab138f67a1d8c10d4d70f16240a1c6796.tar.gz glibc-7bd7ddfab138f67a1d8c10d4d70f16240a1c6796.tar.xz glibc-7bd7ddfab138f67a1d8c10d4d70f16240a1c6796.zip |
Fix missing posix_fadvise64 mips64 static build (BZ #21232)
This patch fixes the missing posix_fadvise64 symbol for static build required for _FILE_OFFSET_BITS=64 on mips64 build. Checked on a mips64-linux-gnu build with run-built-tests=no. [BZ #21232] * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add posix_fadvise64 weak_alias for static build. (cherry picked from commit ed7d6072f25f75b808b40c206371361f1313f342)
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c index 9776ee96e5..5a6379613b 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c @@ -29,5 +29,7 @@ _strong_alias (__posix_fadvise64_l64, __posix_fadvise64_l32); compat_symbol (libc, __posix_fadvise64_l32, posix_fadvise64, GLIBC_2_2); versioned_symbol (libc, __posix_fadvise64_l64, posix_fadvise64, GLIBC_2_3_3); +#else +_weak_alias (posix_fadvise, posix_fadvise64); #endif _strong_alias (__posix_fadvise64_l64, posix_fadvise); |