From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2037 invoked by alias); 10 Mar 2004 19:24:47 -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 2013 invoked from network); 10 Mar 2004 19:24:46 -0000 Received: from unknown (HELO palrel11.hp.com) (156.153.255.246) by sources.redhat.com with SMTP; 10 Mar 2004 19:24:46 -0000 Received: from hplms2.hpl.hp.com (hplms2.hpl.hp.com [15.0.152.33]) by palrel11.hp.com (Postfix) with ESMTP id C27DF1C00236; Wed, 10 Mar 2004 11:24:30 -0800 (PST) Received: from napali.hpl.hp.com (napali.hpl.hp.com [15.4.89.123]) by hplms2.hpl.hp.com (8.12.10/8.12.10/HPL-PA Hub) with ESMTP id i2AJOS7u006049; Wed, 10 Mar 2004 11:24:28 -0800 (PST) Received: from napali.hpl.hp.com (napali [127.0.0.1]) by napali.hpl.hp.com (8.12.11/8.12.11/Debian-1) with ESMTP id i2AJOSdK002193; Wed, 10 Mar 2004 11:24:28 -0800 Received: (from davidm@localhost) by napali.hpl.hp.com (8.12.11/8.12.11/Debian-1) id i2AJORBb002189; Wed, 10 Mar 2004 11:24:27 -0800 From: David Mosberger MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16463.27499.766821.185299@napali.hpl.hp.com> Date: Wed, 10 Mar 2004 19:24:00 -0000 To: Jakub Jelinek Cc: davidm@hpl.hp.com, Andreas Schwab , Ulrich Drepper , Glibc hackers Subject: Re: [PATCH] getpid/vfork/raise fix In-Reply-To: <20040310160758.GZ3822@sunsite.ms.mff.cuni.cz> References: <20040308110105.GN3822@sunsite.ms.mff.cuni.cz> <404D76CA.4010500@redhat.com> <20040309115038.GO3822@sunsite.ms.mff.cuni.cz> <20040310101515.GS3822@sunsite.ms.mff.cuni.cz> <16463.17524.280448.143159@napali.hpl.hp.com> <20040310145052.GX3822@sunsite.ms.mff.cuni.cz> <16463.21532.841079.452596@napali.hpl.hp.com> <20040310160758.GZ3822@sunsite.ms.mff.cuni.cz> Reply-To: davidm@hpl.hp.com X-URL: http://www.hpl.hp.com/personal/David_Mosberger/ X-SW-Source: 2004-03/txt/msg00058.txt.bz2 >>>>> On Wed, 10 Mar 2004 17:07:58 +0100, Jakub Jelinek said: Jakub> One (plus b0) is needed. But first of all I'd like to Jakub> understand the differences between NPTL pt-vfork.S and libc Jakub> vfork.S on IA-64. Why does one use DO_CALL_VIA_BREAK and the Jakub> other one DO_CALL, one has gas workarounds and one does not? My memory is a bit fuzzy (isn't it always... ;-), but as I remember it, new-style syscall stub support is tied to NPTL, so vfork.S is never actually compiled when new-style syscalls stubs are in effect. Because of that, DO_CALL_VIA_BREAK isn't _necessary_ for vfork.S. Furthermore, the gas workarounds are needed only for the new-style syscall stubs. If you preferred them to be in sync, I _think_ it would be OK to make vfork.S more similar (perhaps even identical) to pt-vfork.S. --david