mirror of
https://sourceware.org/git/glibc.git
synced 2026-10-24 01:33:52 +03:00
linux: Consolidate sync_file_range implementation
This patch consolidates Linux sync_file_range at default sysdeps/unix/sysv/linux/sync_file_range.c implementation. It also moves the rules flags from generic io/Makefile to Linux one due the fact it is a Linux-only symbol. Checked on i686-linux-gnu and x86_64-linux-gnu. * io/Makefile (CFLAGS-sync_file_range.c): Remove rule. * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New rule. * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove sync_file_range.
This commit is contained in:
@@ -25,6 +25,7 @@ CFLAGS-tee.c = -fexceptions -fasynchronous-unwind-tables
|
||||
CFLAGS-vmsplice.c = -fexceptions -fasynchronous-unwind-tables
|
||||
CFLAGS-splice.c = -fexceptions -fasynchronous-unwind-tables
|
||||
CFLAGS-open_by_handle_at.c = -fexceptions -fasynchronous-unwind-tables
|
||||
CFLAGS-sync_file_range.c = -fexceptions -fasynchronous-unwind-tables
|
||||
CFLAGS-tst-writev.c += "-DARTIFICIAL_LIMIT=(0x80000000-sysconf(_SC_PAGESIZE))"
|
||||
|
||||
# Note that bits/mman-linux.h is listed here though the file lives in the
|
||||
|
||||
Reference in New Issue
Block a user