This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

[PATCH] Fix s390x build


Hi!

One more s390x fix, without it __vfork in libc.so doesn't reach its
error handler.  With this s390x finally passes make check again.

2004-03-11  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Use jgnl
	instead of jnl instruction to jump to SYSCALL_ERROR_LABEL.
	* sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S (__vfork):
	Likewise.

--- libc/nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S.jj	2004-03-10 20:02:20.000000000 +0100
+++ libc/nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S	2004-03-11 14:38:47.397513861 +0100
@@ -48,7 +48,7 @@ ENTRY (__vfork)
 	/* Check for error.  */
 	lghi	%r4,-4095
 	clgr	%r2,%r4
-	jnl	SYSCALL_ERROR_LABEL
+	jgnl	SYSCALL_ERROR_LABEL
 
 	/* Normal return.  */
 	br	%r14
--- libc/nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S.jj	2004-03-11 11:10:13.000000000 +0100
+++ libc/nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S	2004-03-11 14:37:45.752587908 +0100
@@ -50,7 +50,7 @@ ENTRY (__vfork)
 	/* Check for error.  */
 	lghi	%r4,-4095
 	clgr	%r2,%r4
-	jnl	SYSCALL_ERROR_LABEL
+	jgnl	SYSCALL_ERROR_LABEL
 
 	/* Normal return.  */
 	br	%r14

	Jakub


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