glibc/sysdeps/unix/sysv/linux/wordsize-64
Joseph Myers a287953a45 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.
2015-01-05 14:37:07 +00:00
..
aio_read64.c
aio_read.c
aio_write64.c
aio_write.c
creat64.c
dl-fxstatat64.c
fallocate64.c
fallocate.c
fstatfs64.c
fstatvfs64.c
fstatvfs.c
ftruncate64.c
fxstat64.c
fxstat.c
fxstatat64.c
fxstatat.c
getdents64.c
getdents.c
getdirentries64.c
getdirentries.c
getrlimit64.c
glob64.c
internal_statvfs64.c
lio_listio64.c
lio_listio.c
lxstat64.c
lxstat.c
mmap64.c
open64.c
openat64.c
openat.c
posix_fadvise64.c
posix_fadvise.c
posix_fallocate64.c
posix_fallocate.c
pread64.c
preadv64.c
preadv.c
pwrite64.c
pwritev64.c
pwritev.c
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
sendfile64.c
setrlimit64.c
statfs64.c
statvfs64.c
statvfs.c
syscalls.list
truncate64.c
Versions
xstat64.c
xstat.c