From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24838 invoked by alias); 30 May 2012 19:54:33 -0000 Received: (qmail 24829 invoked by uid 22791); 30 May 2012 19:54:32 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from usmamail.tilera.com (HELO USMAMAIL.TILERA.COM) (12.216.194.151) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 30 May 2012 19:54:19 +0000 Received: from [10.7.0.95] (10.9.0.23) by USMAExch2.tad.internal.tilera.com (10.3.0.33) with Microsoft SMTP Server id 14.0.694.0; Wed, 30 May 2012 15:54:18 -0400 Message-ID: <4FC67AEA.6010403@tilera.com> Date: Wed, 30 May 2012 19:54:00 -0000 From: Chris Metcalf User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: "Joseph S. Myers" CC: Subject: Re: Update MIPS for syscall-list changes References: <4FC65C79.7080604@tilera.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00194.txt.bz2 On 5/30/2012 2:46 PM, Joseph S. Myers wrote: > 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. Thanks, I pushed appropriate Makefile changes. -- Chris Metcalf, Tilera Corp. http://www.tilera.com