From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4517 invoked by alias); 30 May 2012 18:46:40 -0000 Received: (qmail 4508 invoked by uid 22791); 30 May 2012 18:46:40 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL X-Spam-Check-By: sourceware.org Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 18:46:27 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1SZnuc-0005Ai-Ay from joseph_myers@mentor.com ; Wed, 30 May 2012 11:46:26 -0700 Received: from digraph.polyomino.org.uk ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 30 May 2012 19:46:25 +0100 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.74) (envelope-from ) id 1SZnuZ-0002HY-KL; Wed, 30 May 2012 18:46:23 +0000 Date: Wed, 30 May 2012 18:46:00 -0000 From: "Joseph S. Myers" To: Chris Metcalf cc: libc-ports@sourceware.org Subject: Re: Update MIPS for syscall-list changes In-Reply-To: <4FC65C79.7080604@tilera.com> Message-ID: References: <4FC65C79.7080604@tilera.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-05/txt/msg00188.txt.bz2 On Wed, 30 May 2012, Chris Metcalf wrote: > In fact, syscall.h was problematic, since by default we were only getting > the -m64 names, not the -m32 names. I added a > sysdeps/unix/sysv/linux/tile/tilegx/Makefile that has: > > +ifeq ($(subdir),misc) > + > +# Provide biarch definitions. > +abi-variants := 64 32 > +abi-64-options := -D__LP64__ > +abi-64-condition := __WORDSIZE == 64 > +abi-32-options := -U__LP64__ > +abi-32-condition := __WORDSIZE == 32 > + > +endif For stubs.h to work correctly you should also have default-abi definitions in appropriate files for each ABI. -- Joseph S. Myers joseph@codesourcery.com