Message ID | 1489520738-5937-1-git-send-email-adhemerval.zanella@linaro.org |
---|---|
State | New |
Headers | show |
On Tue, 14 Mar 2017, Adhemerval Zanella wrote: > 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. OK. -- Joseph S. Myers joseph@codesourcery.com
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 9776ee9..5a63796 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);