2012-04-24 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/unix/syscalls.list (madvise): Add syscall from
+ sysdeps/unix/mman/syscalls.list.
+ (mmap): Likewise.
+ (mprotect): Likewise.
+ (msync): Likewise.
+ (munmap): Likewise.
+ * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
+ * sysdeps/unix/mman/syscalls.list: Remove.
+ * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
+
* configure.in (libc_cv_libgcc_s_suffix): Remove test.
(libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
* configure: Regenerated.
+++ /dev/null
-# 4.4 BSD has the canonical set of <sys/mman.h> system calls.
-unix/mman
+++ /dev/null
-# This interface desciption corresponds to the POSIX.1 description. The
-# 4.4BSD interface is slightly different since the `msync' function takes
-# only 2 arguments.
-
-# File name Caller Syscall name # args Strong name Weak names
-
-madvise - madvise i:pii madvise
-mmap - mmap b:aniiii __mmap mmap
-mprotect - mprotect i:aii __mprotect mprotect
-msync - msync Ci:aii __libc_msync msync
-munmap - munmap i:ai __munmap munmap
kill - kill i:ii __kill kill
link - link i:ss __link link
lseek - lseek i:iii __libc_lseek __lseek lseek
+madvise - madvise i:pii madvise
mkdir - mkdir i:si __mkdir mkdir
+mmap - mmap b:aniiii __mmap mmap
+mprotect - mprotect i:aii __mprotect mprotect
+msync - msync Ci:aii __libc_msync msync
+munmap - munmap i:ai __munmap munmap
open - open Ci:siv __libc_open __open open
profil - profil i:piii __profil profil
ptrace - ptrace i:iiii ptrace
# Linux shares most of the syscalls which are also common to BSD and SVR4.
unix/common
-# Linux as of version 1.3.29 has all functions of the mmap family
-# which are described in POSIX.4. Missing is only madvise() so
-# we define a stub here.
-unix/mman
-
# Linux has network support in the kernel.
unix/inet