glibc/sysdeps/unix/sysv/linux/wordsize-64
Adhemerval Zanella bafcba22ac Consolidate Linux openat implementation
This patch consolidates the open Linux syscall implementation on
sysdeps/unix/sysv/linux/open{64}.c.  The changes are:

  1. Remove wordsize-64 openat{64}.
  2. For architetures that define __OFF_T_MATCHES_OFF64_T openat64
     will be default one with alias to required symbols.  Otherwise
     openat64 will pass the required O_LARGEFILE flag on syscall.

Checked on i686-linux-gnu, x86_64-linux-gnu, x86_64-linux-gnux32,
arch64-linux-gnu, arm-linux-gnueabihf, and powerpc64le-linux-gnu.

	* sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
	for !__OFF_T_MATCHES_OFF64_T.
	* sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
	implementation based on open64.
	* sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
	* sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2017-06-20 18:20:06 -03:00
..
aio_read64.c
aio_read.c
aio_write64.c
aio_write.c
dl-fxstatat64.c
fstatfs64.c
fstatvfs64.c
fstatvfs.c
fxstat64.c
fxstat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
fxstatat64.c
fxstatat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
getdents64.c
getdents.c
getdirentries64.c
getdirentries.c
glob64.c
internal_statvfs64.c
lio_listio64.c
lio_listio.c
lxstat64.c
lxstat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
readdir64_r.c
readdir64.c
readdir_r.c
readdir.c
sendfile64.c
statfs64.c
statvfs64.c
statvfs.c
syscalls.list linux: Consolidate sync_file_range implementation 2017-06-15 16:03:37 -03:00
Versions
xstat64.c
xstat.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00