From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14291 invoked by alias); 30 Oct 2002 18:26:08 -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 14244 invoked from network); 30 Oct 2002 18:26:06 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 30 Oct 2002 18:26:06 -0000 Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 3AA91144FD; Wed, 30 Oct 2002 19:26:06 +0100 (MET) Received: from aj by arthur.inka.de with local (Exim 3.34 #1) id 186xXY-0000fm-00; Wed, 30 Oct 2002 19:26:04 +0100 Mail-Copies-To: never To: Jakub Jelinek Cc: Roland McGrath , Ulrich Drepper , Glibc hackers Subject: Re: [PATCH] Tiny bi-arch bits/syscall.h change References: <20021030165633.X3451@sunsite.ms.mff.cuni.cz> From: Andreas Jaeger Date: Thu, 31 Oct 2002 11:50:00 -0000 In-Reply-To: <20021030165633.X3451@sunsite.ms.mff.cuni.cz> (Jakub Jelinek's message of "Wed, 30 Oct 2002 16:56:33 +0100") Message-ID: User-Agent: Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Artificial Intelligence, i386-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002-10/txt/msg00113.txt.bz2 Jakub Jelinek writes: > Hi! > > I noticed bits/syscall.h on x86-64 has all defines in __WORDSIZE > == 64, ie. defines no 32-bit syscall. > Fixed thusly. 32bit-predefine is not needed > on other arches, since asm stubs use #if defined basearch && defined 64bitarch > resp. #if defined basearch && !defined 64bitarch. > > 2002-10-30 Jakub Jelinek > > * sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each > 32bit-predefine when creating .new32 list and -U for each > 32bit-predefine when creating .new64 list. > > --- libc/sysdeps/unix/sysv/linux/x86_64/Makefile.jj 2002-10-16 23:22:16.000000000 +0200 > +++ libc/sysdeps/unix/sysv/linux/x86_64/Makefile 2002-10-30 16:42:02.000000000 +0100 > @@ -1,3 +1,4 @@ > +32bit-predefine = __i386__ > 64bit-predefine = __x86_64__ Thanks, committed with ChangeLog mentioning the above change, Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj