From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2746 invoked by alias); 11 Mar 2004 14:53:15 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 2728 invoked from network); 11 Mar 2004 14:53:15 -0000 Received: from unknown (HELO sunsite.ms.mff.cuni.cz) (195.113.19.66) by sources.redhat.com with SMTP; 11 Mar 2004 14:53:15 -0000 Received: from sunsite.ms.mff.cuni.cz (sunsite.mff.cuni.cz [127.0.0.1]) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8) with ESMTP id i2BCi3nd010197; Thu, 11 Mar 2004 13:44:04 +0100 Received: (from jakub@localhost) by sunsite.ms.mff.cuni.cz (8.12.8/8.12.8/Submit) id i2BCEqfx003363; Thu, 11 Mar 2004 13:14:52 +0100 Date: Thu, 11 Mar 2004 14:53:00 -0000 From: Jakub Jelinek To: Ulrich Drepper Cc: Glibc hackers Subject: [PATCH] Fix s390x build Message-ID: <20040311121452.GG3822@sunsite.ms.mff.cuni.cz> Reply-To: Jakub Jelinek Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-SW-Source: 2004-03/txt/msg00069.txt.bz2 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 * 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