glibc/sysdeps
Adhemerval Zanella fdbb0d98ba posix: Consolidate Linux fsync syscall
This patch consolidates the fsync Linux syscall generation on
sysdeps/unix/sysv/linux/fsync.c.  It basically removes it from
architectures auto-generation list.

For arm it also removes the __errno_location call since fsync
is not called with SYSCALL_CANCEL with call arch-specific
INLINE_SYSCALL macro which in turn will call __set_errno macro
(and setting errno directly).

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

	* misc/Makefile (CFLAGS-fsync.c): New flag.
	* nptl/Makefile (CFLAGS-fsync.c): Likewise.
	* sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
	syscall list.
	* sysdeps/unix/sysv/linux/fsync.c: New file.
	* sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
	(__errno_location): Remove.
2017-05-18 18:06:47 -03:00
..
aarch64 Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
alpha Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
arm Condition some sys/ucontext.h contents on __USE_MISC (bug 21457). 2017-05-11 14:15:26 +00:00
generic Convert e_exp2l.c into a template 2017-05-17 14:44:08 -03:00
gnu
hppa Remove wrong definitions from pthread header refactor 2017-05-11 10:46:03 -03:00
i386 Condition some sys/ucontext.h contents on __USE_MISC (bug 21457). 2017-05-11 14:15:26 +00:00
ia64 Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
ieee754 float128: Add private _Float128 declarations for libm. 2017-05-15 10:23:28 -03:00
init_array
m68k Suppress internal declarations for most of the testsuite. 2017-05-11 19:27:59 -04:00
mach
microblaze Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
mips Condition some sys/ucontext.h contents on __USE_MISC (bug 21457). 2017-05-11 14:15:26 +00:00
nacl
nios2 Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
nptl fork: Remove bogus parent PID assertions [BZ #21386] 2017-05-12 16:04:16 +02:00
posix posix: Fix and simplify default p{read,write}v implementation 2017-05-15 16:33:45 -03:00
powerpc powerpc: Improve memcmp performance for POWER8 2017-05-18 11:21:20 +05:30
pthread
s390 Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
sh Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
sparc Remove useless SPARC signbit aliases. 2017-05-12 16:37:12 +00:00
tile Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
unix posix: Consolidate Linux fsync syscall 2017-05-18 18:06:47 -03:00
wordsize-32
wordsize-64
x86 Move shared pthread definitions to common headers 2017-05-09 17:49:17 -03:00
x86_64 Correct comments in x86_64/multiarch/memcmp.S 2017-05-18 14:02:02 -07:00