about summary refs log tree commit diff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-07 20:46:55 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-07 20:46:55 +0000
commit1f503475a56b198a86cd7df1a3869aec81baf1eb (patch)
tree2c9611079603041a7538fd1b0e43ed4cc731a59a /linuxthreads
parenteecc378cbb0a0dd2978b225687d7cd695962b889 (diff)
downloadglibc-1f503475a56b198a86cd7df1a3869aec81baf1eb.tar.gz
glibc-1f503475a56b198a86cd7df1a3869aec81baf1eb.tar.xz
glibc-1f503475a56b198a86cd7df1a3869aec81baf1eb.zip
Update.
2003-02-07  Jakub Jelinek  <jakub@redhat.com>

	* resolv/res_libc.c (_res): Ensure _res is not common symbol,
	so that it can have aliases.
	* inet/herrno.c (h_errno): Put it into .bss not .data section.

	Patch by Lance Larsh <Lance.Larsh@oracle.com>.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog9
-rw-r--r--linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S2
2 files changed, 10 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index 297a01bb17..e23f56abe2 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,3 +1,9 @@
+2003-02-07  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/i386/vfork.S: Make sure
+	__ASSUME_VFORK_SYSCALL is not defined if the kernel headers have
+	no __NR_vfork definition.
+
 2003-02-07  Jakub Jelinek  <jakub@redhat.com>
 
 	* tst-popen2.c: New test.
@@ -7,7 +13,8 @@
 	* sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Likewise.
 	* sysdeps/unix/sysv/linux/ia64/vfork.S (__vfork): Likewise.
 	* sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Likewise.
-	* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork): Likewise.
+	* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork):
+	Likewise.
 	* sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S (__vfork): Likewise.
 	* sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S (__vfork): Likewise.
 	* sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Likewise.
diff --git a/linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S b/linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S
index f4a56a54bf..95df1330dd 100644
--- a/linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S
+++ b/linuxthreads/sysdeps/unix/sysv/linux/i386/vfork.S
@@ -86,6 +86,8 @@ ENTRY (__vfork)
 	jae	SYSCALL_ERROR_LABEL
 .Lpseudo_end:
 	ret
+#elif !defined __NR_vfork
+# error "__NR_vfork not available and __ASSUME_VFORK_SYSCALL defined"
 #endif
 PSEUDO_END (__vfork)
 libc_hidden_def (__vfork)