about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-06-16 16:30:14 +0000
committerUlrich Drepper <drepper@redhat.com>1998-06-16 16:30:14 +0000
commitbf47fa234412a30f51255b42c92cd29f0b985e79 (patch)
treee6baf282a978c79392417e7359ec434ffc2cee99 /sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
parentb301e2eb98b2d20423a5ed4d371f8eb13d703c65 (diff)
downloadglibc-bf47fa234412a30f51255b42c92cd29f0b985e79.tar.gz
glibc-bf47fa234412a30f51255b42c92cd29f0b985e79.tar.xz
glibc-bf47fa234412a30f51255b42c92cd29f0b985e79.zip
Update.
1998-06-16  David S. Miller <davem@dm.cobaltmicro.com>

	* sysdeps/sparc/sparc32/dl-machine.h
	(elf_machine_fixup_plt): During rtld bootstrap, always perform
	flushes as the kernel will emulate it when the underlying cpu does
	not implement flush.

	* sysdeps/unix/sysv/linux/sparc/sys/kernel_termios.h: Move...
	* sysdeps/unix/sysv/linux/sparc/kernel_termios.h: ...to here.

	* sysdeps/unix/sysv/linux/sparc/sparc32/__sigtrampoline.S: Remove.
	* sysdeps/unix/sysv/linux/sparc/sparc32/Makefile: No longer build
	trampoline code.

	* sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
	(__clone): Branch to label .Lerror not __clone_syscall_error.
	(.Lerror): Fixup EINVAL setting.
	* sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: New file.
	* sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list
	(__syscall_getgroups, __syscall_setgroups): Add.

	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
	(__sigaction): Member name is k_sa_handler.  Use memcpy to copy
	around sa_mask data.

	* math/math.h: Include bits/nan.h when compiling for ISO C 9x.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sparc/sparc32/clone.S')
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc32/clone.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S b/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
index e053569650..e40ee32706 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S
@@ -44,7 +44,7 @@ __clone:
 	mov	%i2,%o0
 	set	__NR_clone,%g1
 	ta	0x10
-	bcs	__clone_syscall_error
+	bcs	.Lerror
 	 tst	%o1
 	bne	__thread_start
 	 nop
@@ -54,7 +54,7 @@ __clone:
 
 .Lerror:
 	call	__errno_location
-	 set	EINVAL,%i0
+	 or	%g0,EINVAL,%i0
 	st	%i0,[%o0]
 	mov	-1,%i0
 	ret