about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-16 20:52:36 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-16 20:52:36 +0000
commit9634cf9d4f30861dbf3ee057a1219227d8c8f19d (patch)
treef00a24f7e4d536c1bf4771e98150503222dc765b /sysdeps/unix
parente150fddc7c1024447a9489635f6f2071a6bfdfcc (diff)
downloadglibc-9634cf9d4f30861dbf3ee057a1219227d8c8f19d.tar.gz
glibc-9634cf9d4f30861dbf3ee057a1219227d8c8f19d.tar.xz
glibc-9634cf9d4f30861dbf3ee057a1219227d8c8f19d.zip
Update.
2002-12-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/i386/socket.S: Use CENABLE and CDISABLE
	macros instead of doing the calls directly.
	* sysdeps/unix/make-syscalls.sh: Add ptw-*.$o target name to rules.
	* Makerules ($(+sysdir_pfx)sysd-rules): Emit rules for ptw-%
	targets.

2002-12-16  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/fpu/bits/mathinline.h: Backout last change.
	* sysdeps/ieee754/bits/nan.h: Likewise.

	* sysdeps/unix/sysv/linux/ia64/syscalls.list (__syscall_open,
	__syscall_wait4, __syscall_ioctl, __syscall_write): Add.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/make-syscalls.sh1
-rw-r--r--sysdeps/unix/sysv/linux/i386/socket.S4
-rw-r--r--sysdeps/unix/sysv/linux/ia64/syscalls.list4
3 files changed, 7 insertions, 2 deletions
diff --git a/sysdeps/unix/make-syscalls.sh b/sysdeps/unix/make-syscalls.sh
index 7b53651240..932f48d295 100644
--- a/sysdeps/unix/make-syscalls.sh
+++ b/sysdeps/unix/make-syscalls.sh
@@ -134,6 +134,7 @@ shared-only-routines += $file
   *)
     echo "\
 \$(foreach o,\$(object-suffixes),\$(objpfx)$file\$o) \
+\$(foreach o,\$(object-suffixes),\$(objpfx)ptw-$file\$o) \
 \$(objpfx)rtld-$file.os: \\"
     ;;
   esac
diff --git a/sysdeps/unix/sysv/linux/i386/socket.S b/sysdeps/unix/sysv/linux/i386/socket.S
index 866a67462d..ab4741b8d1 100644
--- a/sysdeps/unix/sysv/linux/i386/socket.S
+++ b/sysdeps/unix/sysv/linux/i386/socket.S
@@ -76,7 +76,7 @@ L(pseudo_end):
 1:	pushl %esi
 
 	/* Enable asynchronous cancellation.  */
-	call __libc_enable_asynccancel	/* No @plt */
+	CENABLE
 	movl %eax, %esi
 
 	/* Save registers.  */
@@ -93,7 +93,7 @@ L(pseudo_end):
 
 	/* Restore the cancellation.  */
 	xchgl %esi, %eax
-	call __libc_disable_asynccancel	/* No @plt */
+	CDISABLE
 
 	/* Restore registers.  */
 	movl %esi, %eax
diff --git a/sysdeps/unix/sysv/linux/ia64/syscalls.list b/sysdeps/unix/sysv/linux/ia64/syscalls.list
index a18d5efd44..7c0f11f668 100644
--- a/sysdeps/unix/sysv/linux/ia64/syscalls.list
+++ b/sysdeps/unix/sysv/linux/ia64/syscalls.list
@@ -81,6 +81,10 @@ s_stat		xstat	stat		i:sp	__syscall_stat
 s_lstat		lxstat	lstat		i:sp	__syscall_lstat
 s_fstat		fxstat	fstat		i:ip	__syscall_fstat
 s_sysctl	sysctl	_sysctl		i:p	__syscall__sysctl
+s_open		open	open		i:siv	__syscall_open
+s_wait4		wait4	wait4		i:iWiP	__syscall_wait4
+s_ioctl		ioctl	ioctl		i:iiI	__syscall_ioctl
+s_write		write	write		i:ibn	__syscall_write
 
 # IA-64 specific
 getunwind	EXTRA	getunwind	i:pi	getunwind