From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16588 invoked by alias); 23 Mar 2004 19:32:06 -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 16547 invoked from network); 23 Mar 2004 19:32:04 -0000 Received: from unknown (HELO gateway.sf.frob.com) (64.81.54.130) by sources.redhat.com with SMTP; 23 Mar 2004 19:32:04 -0000 Received: from magilla.sf.frob.com (magilla.sf.frob.com [198.49.250.228]) by gateway.sf.frob.com (Postfix) with ESMTP id 3F03E357B; Tue, 23 Mar 2004 11:32:01 -0800 (PST) Received: from magilla.sf.frob.com (localhost.localdomain [127.0.0.1]) by magilla.sf.frob.com (8.12.9/8.12.9) with ESMTP id i2NJW1Oi005598; Tue, 23 Mar 2004 11:32:01 -0800 Received: (from roland@localhost) by magilla.sf.frob.com (8.12.9/8.12.9/Submit) id i2NJW0RF005594; Tue, 23 Mar 2004 11:32:00 -0800 Date: Tue, 23 Mar 2004 19:43:00 -0000 Message-Id: <200403231932.i2NJW0RF005594@magilla.sf.frob.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Ulrich Drepper Cc: Jakub Jelinek , Glibc hackers Subject: Re: [RFC PATCH] Kill some duplication between 64-bit linux arches In-Reply-To: Ulrich Drepper's message of Tuesday, 23 March 2004 10:52:35 -0800 <40608773.4070401@redhat.com> X-Windows: some voids are better left unfilled. X-SW-Source: 2004-03/txt/msg00122.txt.bz2 > This patch is not valid under current assumptions. INLINE_SYSCALL is a > Linux-ism. It cannot be used in sysdeps/wordsize-64 which is a generic > directory. The problem is that what is a syscall on Linux need not > necessarily by a syscall equivalent on other OSes. Hurd, for instance, > has read() as a normal function in libc IIRC. Correct. > Maybe creating sysdeps/unix/sysv/linux/wordsize-64, moving the new files > there, and requiring that directory for all 64-bit archs on Linux will work. If these are useful e.g. for the GNU/*BSD ports, then there could be a purpose-specific directory such as sysdeps/unix/inline-syscall/wordsize-64.