From 30733525c6867c160261db1afade6326000f9f75 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 5 Jan 2017 17:35:53 +0000 Subject: Fix MIPS n64 readahead (bug 21026). As noted in bug 20126, MIPS n64 uses an incorrect implementation of readahead intended for 32-bit systems. This patch adds a syscalls.list entry to fix this. An updated version of the consolidation patch could remove this syscalls.list entry again. Tested with compilation (only) for mips64; the nature of the syscall doesn't allow for a glibc test to detect this issue. [BZ #21026] * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (readahead): New syscall entry. --- ChangeLog | 6 ++++++ sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index df77ffa1c2..801bb3aa48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-01-05 Joseph Myers + + [BZ #21026] + * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list + (readahead): New syscall entry. + 2017-01-04 Joseph Myers * string/tester.c (test_strncat): Disable -Wstringop-overflow= diff --git a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list index 533f19d7d1..5b5cfc2655 100644 --- a/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list +++ b/sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list @@ -2,6 +2,8 @@ mmap - mmap b:aniiii __mmap mmap __mmap64 mmap64 +readahead - readahead i:iii __readahead readahead + prlimit EXTRA prlimit64 i:iipp prlimit prlimit64 fanotify_mark EXTRA fanotify_mark i:iiiis fanotify_mark -- cgit 1.4.1