about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-20 22:23:34 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-20 22:23:34 +0000
commit0585697658a4f4afd4b9811b7a3f73ff820a20d8 (patch)
treed8b46217cefa61586a014dafb6bb4f87a09224c0 /sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
parenta592f998bb64e8760f9e67170341793cf70ada12 (diff)
downloadglibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.tar.gz
glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.tar.xz
glibc-0585697658a4f4afd4b9811b7a3f73ff820a20d8.zip
Update.
2002-07-24  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Yield ENODEV
	on unknown systems.

2003-02-20  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/powerpc/powerpc32/atomicity.h: Remove compiler workaround.
	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_NEW_PRCTL_SYSCALL): Defined for ppc32 too.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: Use prctl
	if possible.
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Avoid short
	interprocedure branches.
	* sysdeps/powerpc/soft-fp/Dist (sim-full.c, fenv_const.c): Move to...
	* sysdeps/powerpc/nofpu/Dist: ...here.
	* sysdeps/unix/sysv/linux/powerpc/Dist (fe_nomask.c): Move to...
	* sysdeps/unix/sysv/linux/powerpc/powerpc32/Dist: ...here.
	* sysdeps/unix/sysv/linux/s390/s390-64/Dist (kernel_stat.h): Delete.
	* sysdeps/unix/sysv/linux/sparc/Dist (bits/utmpx.h): Delete.
	* sysdeps/unix/sysv/linux/x86_64/Dist (bits/utmpx.h): Delete.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S')
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S b/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
index 9a0f53e99e..5fb7868c31 100644
--- a/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
+++ b/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S
@@ -38,7 +38,7 @@ ENTRY (__vfork)
 	bnslr+
 	/* Check if vfork syscall is known at all.  */
 	cmpwi	r3,ENOSYS
-	bne	JUMPTARGET(__syscall_error)
+	bne-	.Lsyscall_error
 
 # endif
 #endif
@@ -47,7 +47,10 @@ ENTRY (__vfork)
 	/* If we don't have vfork, fork is close enough.  */
 
 	DO_CALL (SYS_ify (fork))
-	PSEUDO_RET
+	bnslr+
+
+.Lsyscall_error:
+	b	JUMPTARGET(__syscall_error)
 #endif
 
 PSEUDO_END (__vfork)