From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32413 invoked by alias); 30 May 2012 17:44:43 -0000 Received: (qmail 32207 invoked by uid 22791); 30 May 2012 17:44:41 -0000 X-SWARE-Spam-Status: No, hits=-3.0 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TW_EG,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 17:44:27 +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 13:44:26 -0400 Message-ID: <4FC65C79.7080604@tilera.com> Date: Wed, 30 May 2012 17:44: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: 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/msg00184.txt.bz2 On 5/30/2012 12:02 PM, Joseph S. Myers wrote: > I think tilegx should properly be updated to have the right definitions as > a biarch port - even if there are no differences for lib-names.h or > syscall.h between the 32-bit and 64-bit cases, each should still get its > own stubs.h generated. 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 I pushed this, along with some other changes to catch up with recent work: commit a88035b5fb970d4b47e22e6978704f94c7b46271 Author: Chris Metcalf Date: Wed May 30 13:14:50 2012 -0400 tile: update libm-test-ulps commit c64bb3c94786f41f0c5efff4cbe55a65357afffc Author: Chris Metcalf Date: Wed May 30 13:14:28 2012 -0400 tile: support biarch tilegx with a new tilegx Makefile commit a7ccf2071734f6cd01c228b04947647faf43d3f6 Author: Chris Metcalf Date: Wed May 30 12:22:59 2012 -0400 tile: Use hidden_def for pthread_once commit 3b3b9920c96cc004b132658546bdb84761415777 Author: Chris Metcalf Date: Wed May 30 12:19:21 2012 -0400 tile: remove __ASSUME_NEW_GETRLIMIT_SYSCALL, __ASSUME_TRUNCATE64_SYSCALL -- Chris Metcalf, Tilera Corp. http://www.tilera.com