summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-05-04 23:15:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-05-04 23:15:56 +0000
commitf7c85819fdb3f9fc0e239fb81f4d6a5aab15a2d1 (patch)
treef3e48e5d6929fc5927b9e831177a4bd484d5af47
parent336270d0f1106c5d4bca181fa47dc30337b4d8c2 (diff)
downloadglibc-f7c85819fdb3f9fc0e239fb81f4d6a5aab15a2d1.tar.gz
glibc-f7c85819fdb3f9fc0e239fb81f4d6a5aab15a2d1.tar.xz
glibc-f7c85819fdb3f9fc0e239fb81f4d6a5aab15a2d1.zip
Merge sysdeps/unix/common into sysdeps/unix.
-rw-r--r--ChangeLog19
-rw-r--r--sysdeps/unix/bsd/Implies3
-rw-r--r--sysdeps/unix/common/syscalls.list15
-rw-r--r--sysdeps/unix/syscalls.list12
-rw-r--r--sysdeps/unix/sysv/linux/Implies3
5 files changed, 31 insertions, 21 deletions
diff --git a/ChangeLog b/ChangeLog
index 3a7102f383..e39c640023 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,22 @@
+2012-05-04  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/unix/syscalls.list (adjtime): Add entry from
+	sysdeps/unix/common/syscalls.list.
+	(fchmod): Likewise.
+	(fchown): Likewise.
+	(ftruncate): Likewise.
+	(getrusage): Likewise.
+	(gettimeofday): Likewise.
+	(setpgid): Likewise.
+	(setregid): Likewise.
+	(setreuid): Likewise.
+	(sigaction): Likewise.
+	(truncate): Likewise.
+	(vhangup): Likewise.
+	* sysdeps/unix/common/syscalls.list: Remove file.
+	* sysdeps/unix/bsd/Implies: Don't include unix/common.
+	* sysdeps/unix/sysv/linux/Implies: Likewise.
+
 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
 
 	* sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
diff --git a/sysdeps/unix/bsd/Implies b/sysdeps/unix/bsd/Implies
index cfc44915d8..c30979e17b 100644
--- a/sysdeps/unix/bsd/Implies
+++ b/sysdeps/unix/bsd/Implies
@@ -1,5 +1,2 @@
-# The directory unix/common contains things which are common to both BSD
-# and SVR4.
-unix/common
 # The directory unix/inet implements sockets and networking in the usual way.
 unix/inet
diff --git a/sysdeps/unix/common/syscalls.list b/sysdeps/unix/common/syscalls.list
deleted file mode 100644
index f0a5ea0a65..0000000000
--- a/sysdeps/unix/common/syscalls.list
+++ /dev/null
@@ -1,15 +0,0 @@
-# File name	Caller	Syscall name	# args	Strong name	Weak names
-
-adjtime		-	adjtime		i:pp	__adjtime	adjtime
-fchmod		-	fchmod		i:ii	__fchmod	fchmod
-fchown		-	fchown		i:iii	__fchown	fchown
-ftruncate	-	ftruncate	i:ii	__ftruncate	ftruncate
-getrusage	-	getrusage	i:ip	__getrusage	getrusage
-gettimeofday	-	gettimeofday	i:PP	__gettimeofday	gettimeofday __gettimeofday_internal
-settimeofday	-	settimeofday	i:PP	__settimeofday	settimeofday
-setpgid		-	setpgrp		i:ii	__setpgid	setpgid
-setregid	-	setregid	i:ii	__setregid	setregid
-setreuid	-	setreuid	i:ii	__setreuid	setreuid
-sigaction	-	sigaction	i:ipp	__sigaction	sigaction
-truncate	-	truncate	i:si	__truncate	truncate
-vhangup		-	vhangup		i:i	vhangup
diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list
index 6f423bf447..5c696b31cb 100644
--- a/sysdeps/unix/syscalls.list
+++ b/sysdeps/unix/syscalls.list
@@ -2,6 +2,7 @@
 
 access		-	access		i:si	__access	access
 acct		-	acct		i:S	acct
+adjtime		-	adjtime		i:pp	__adjtime	adjtime
 chdir		-	chdir		i:s	__chdir		chdir
 chmod		-	chmod		i:si	__chmod		chmod
 chown		-	chown		i:sii	__chown		__chown_internal chown
@@ -11,9 +12,12 @@ dup		-	dup		i:i	__dup		dup
 dup2		-	dup2		i:ii	__dup2		dup2
 dup3		-	dup3		i:iii	dup3
 fchdir		-	fchdir		i:i	__fchdir	fchdir
+fchmod		-	fchmod		i:ii	__fchmod	fchmod
+fchown		-	fchown		i:iii	__fchown	fchown
 fcntl		-	fcntl		Ci:iiF	__libc_fcntl	__fcntl __fcntl_internal fcntl
 fstatfs		-	fstatfs		i:ip	__fstatfs	fstatfs
 fsync		-	fsync		Ci:i	__libc_fsync	fsync
+ftruncate	-	ftruncate	i:ii	__ftruncate	ftruncate
 getdomain	-	getdomainname	i:si	getdomainname
 getgid		-	getgid		Ei:	__getgid	getgid
 getgroups	-	getgroups	i:ip	__getgroups	getgroups
@@ -21,6 +25,8 @@ getitimer	-	getitimer	i:ip	__getitimer	getitimer
 getpid		-	getpid		Ei:	__getpid	getpid
 getpriority	-	getpriority	i:ii	getpriority
 getrlimit	-	getrlimit	i:ip	__getrlimit	getrlimit
+getrusage	-	getrusage	i:ip	__getrusage	getrusage
+gettimeofday	-	gettimeofday	i:PP	__gettimeofday	gettimeofday __gettimeofday_internal
 getuid		-	getuid		Ei:	__getuid	getuid
 ioctl		-	ioctl		i:iiI	__ioctl		ioctl
 kill		-	kill		i:ii	__kill		kill
@@ -48,11 +54,15 @@ seteuid		-	seteuid		i:i	__seteuid	seteuid
 setgid		-	setgid		i:i	__setgid	setgid
 setgroups	-	setgroups	i:ip	setgroups
 setitimer	-	setitimer	i:ipp	__setitimer	setitimer
+setpgid		-	setpgrp		i:ii	__setpgid	setpgid
 setpriority	-	setpriority	i:iii	setpriority
+setregid	-	setregid	i:ii	__setregid	setregid
+setreuid	-	setreuid	i:ii	__setreuid	setreuid
 setrlimit	-	setrlimit	i:ip	__setrlimit setrlimit
 setsid		-	setsid		i:	__setsid	setsid
 settimeofday	-	settimeofday	i:PP	__settimeofday	settimeofday
 setuid		-	setuid		i:i	__setuid	setuid
+sigaction	-	sigaction	i:ipp	__sigaction	sigaction
 sigsuspend	-	sigsuspend	Ci:p	sigsuspend
 sstk		-	sstk		b:i	sstk
 statfs		-	statfs		i:sp	__statfs	statfs
@@ -61,9 +71,11 @@ swapon		-	swapon		i:s	swapon
 symlink		-	symlink		i:ss	__symlink	symlink
 sync		-	sync		i:	sync
 syncfs		-	syncfs		i:i	syncfs
+truncate	-	truncate	i:si	__truncate	truncate
 umask		-	umask		Ei:i	__umask		umask
 uname		-	uname		i:p	__uname		uname
 unlink		-	unlink		i:s	__unlink	unlink
 utimes		-	utimes		i:sp	__utimes	utimes
+vhangup		-	vhangup		i:i	vhangup
 write		-	write		Ci:ibn	__libc_write	__write write
 writev		-	writev		Ci:ipi	__writev	writev
diff --git a/sysdeps/unix/sysv/linux/Implies b/sysdeps/unix/sysv/linux/Implies
index ab04990add..b04bb6b33d 100644
--- a/sysdeps/unix/sysv/linux/Implies
+++ b/sysdeps/unix/sysv/linux/Implies
@@ -2,8 +2,5 @@
 # Hurd-based GNU systems.
 gnu
 
-# Linux shares most of the syscalls which are also common to BSD and SVR4.
-unix/common
-
 # Linux has network support in the kernel.
 unix/inet