diff options
author | Joseph Myers <joseph@codesourcery.com> | 2015-01-05 14:37:07 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2015-01-05 14:37:07 +0000 |
commit | a287953a45b0759ce08349a299a458c89b7d8276 (patch) | |
tree | fbba74ac7d798ce064330f5a6ddcdab4d55be8cf /mach/mach_error.h | |
parent | b1efe3bbcfd94941556ffd5b60539207023c8224 (diff) | |
download | glibc-a287953a45b0759ce08349a299a458c89b7d8276.tar glibc-a287953a45b0759ce08349a299a458c89b7d8276.tar.gz glibc-a287953a45b0759ce08349a299a458c89b7d8276.tar.bz2 glibc-a287953a45b0759ce08349a299a458c89b7d8276.zip |
Fix wordsize-64 posix_fadvise64, posix_fallocate64 namespace (bug 17777).
On systems using sysdeps/unix/sysv/linux/wordsize-64, posix_fadvise64
and posix_fallocate64 (non-POSIX) are strong aliases for posix_fadvise
and posix_fallocate (POSIX), meaning references to the latter wrongly
bring in definitions of the former. They should be weak aliases; this
patch makes them so.
Tested for x86_64 (testsuite, and that disassembly of installed shared
libraries is unchanged by the patch).
[BZ #17777]
* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
(posix_fadvise64): Define as weak alias not strong alias.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
(posix_fallocate64): Likewise.
* conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
Remove variable.
(test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
(test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
(test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
(test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
(test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
Diffstat (limited to 'mach/mach_error.h')
0 files changed, 0 insertions, 0 deletions