Message ID | 3faeab56-ea0f-1fb1-68cd-f260162b18ab@linaro.org |
---|---|
State | New |
Headers | show |
On 12/10/2016 13:10, Joseph Myers wrote: > On Wed, 12 Oct 2016, Adhemerval Zanella wrote: > >> By the way, do you know exactly why mips64n64 requires this symbol versioning? > > See what I said in > <https://sourceware.org/ml/libc-ports/2012-05/msg00006.html>. Because > there were releases with both symbol versions, we need to keep the exports > at both versions even though they have the same semantics. > > Please commit the patch. > Thanks, I will add a comment on mips64 posix_fadvise64 implementation explaining why it is required.
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 d7aab25..0af3c38 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c @@ -15,6 +15,8 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ +#undef weak_alias +#define weak_alias(a, b) #undef strong_alias #define strong_alias(a, b)