This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Remove overridden entries from sysdeps/unix/sysv/syscalls.list

sysdeps/unix/sysv/ is only used with the Linux kernel.  The only thing
left there other than the linux/ subdirectory is syscalls.list.  In
that syscalls.list, six syscall entries will never actually be used
because they are overridden by .c source files in
sysdeps/unix/sysv/linux/.  I propose this patch to remove those unused
syscall entries.  Tested x86_64, including verifying that the built
shared libraries were identical before and after the patch.

2012-05-04  Joseph Myers  <>

	* sysdeps/unix/sysv/syscalls.list (ftime): Remove.
	(nice): Likewise.
	(poll): Likewise.
	(signal): Likewise.
	(time): Likewise.
	(times): Likewise.

diff --git a/sysdeps/unix/sysv/syscalls.list b/sysdeps/unix/sysv/syscalls.list
index dc6a431..c508dd0 100644
--- a/sysdeps/unix/sysv/syscalls.list
+++ b/sysdeps/unix/sysv/syscalls.list
@@ -1,15 +1,9 @@
 # File name	Caller	Syscall name	# args	Strong name	Weak names
 alarm		-	alarm		i:i	alarm
-ftime		-	ftime		i:p	ftime
-nice		-	nice		i:i	nice
 pause		-	pause		Ci:	pause
-poll		-	poll		Ci:pii	poll
 setrlimit	-	setrlimit	i:ip	__setrlimit	setrlimit
 settimeofday	-	settimeofday	i:PP	__settimeofday	settimeofday
-signal		-	signal		i:ii	signal
 stime		-	stime		i:p	stime
-time		-	time		Ei:P	time
-times		-	times		Ei:p	__times	times
 ulimit		-	ulimit		i:ii	ulimit
 utime		-	utime		i:sP	utime

Joseph S. Myers

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]