From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16184 invoked by alias); 23 Mar 2004 18:52:54 -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 16158 invoked from network); 23 Mar 2004 18:52:52 -0000 Received: from unknown (HELO myware.akkadia.org) (24.221.190.179) by sources.redhat.com with SMTP; 23 Mar 2004 18:52:52 -0000 Received: from redhat.com (drepper@myware.akkadia.org [192.168.7.70]) (authenticated bits=0) by myware.akkadia.org (8.12.11/8.12.10) with ESMTP id i2NIqZC1016152; Tue, 23 Mar 2004 10:52:36 -0800 Message-ID: <40608773.4070401@redhat.com> Date: Tue, 23 Mar 2004 19:38:00 -0000 From: Ulrich Drepper Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040322 MIME-Version: 1.0 To: Jakub Jelinek CC: Glibc hackers Subject: Re: [RFC PATCH] Kill some duplication between 64-bit linux arches References: <20040323163053.GF15946@sunsite.ms.mff.cuni.cz> In-Reply-To: <20040323163053.GF15946@sunsite.ms.mff.cuni.cz> X-Enigmail-Version: 0.83.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-03/txt/msg00121.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. 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. -- ➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖