glibc/sysdeps/unix/sysv/linux/mips/mips32
Joseph Myers c1f0601389 Fix MIPS o32 posix_fadvise.
The posix_fadvise consolidation broke posix_fadvise for MIPS o32, so
resulting in posix/tst-posix_fadvise failing.

MIPS o32 (and the other ABIs) has only the posix_fadvise64 syscall,
which acts like posix_fadvise64_64 (in the o32 case, because of the
alignment argument it's actually a 7-argument syscall).  The generic
posix_fadvise implementation presumes that if __NR_fadvise64 is
defined, it's for the case where a single len argument is passed to
the syscall rather than two syscall arguments in the case of a 32-bit
system.

The generic posix_fadvise64 works fine for this case (defining
__NR_fadvise64_64 to __NR_fadvise64 as needed).  ARM has a
posix_fadvise.c that uses __posix_fadvise64_l64 in posix_fadvise, and
that approach also works for MIPS o32, so this patch makes MIPS o32
include the ARM file.

Tested for MIPS o32.

	* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
2017-01-12 02:19:00 +00:00
..
fpu New string function explicit_bzero (from OpenBSD). 2016-12-16 16:21:54 -05:00
mips16 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
nofpu New string function explicit_bzero (from OpenBSD). 2016-12-16 16:21:54 -05:00
Versions Revert {send,sendm,recv,recvm}msg conformance changes 2016-06-10 11:58:16 -03:00
accept4.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
c++-types.data
fcntl.c
fxstatat.c
ld.abilist ld.so: Remove __libc_memalign 2016-11-30 16:23:58 +01:00
libBrokenLocale.abilist
libanl.abilist
libcidn.abilist
libcrypt.abilist
libdl.abilist
libm.abilist Add fromfp functions. 2016-12-31 00:40:59 +00:00
libnsl.abilist
libnss_compat.abilist
libnss_db.abilist
libnss_dns.abilist
libnss_files.abilist
libnss_hesiod.abilist
libnss_nis.abilist
libnss_nisplus.abilist
libpthread.abilist
libresolv.abilist
librt.abilist
libthread_db.abilist
libutil.abilist
lockf64.c
mmap.c Fix MIPS mmap negative offset handling for consistency (bug 19550). 2016-02-01 18:20:21 +00:00
posix_fadvise.c Fix MIPS o32 posix_fadvise. 2017-01-12 02:19:00 +00:00
readahead.c
recvmmsg.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sendmmsg.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
syscalls.list
sysdep.h Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00