This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Update MIPS for syscall-list changes
- From: Chris Metcalf <cmetcalf at tilera dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: <libc-ports at sourceware dot org>
- Date: Wed, 30 May 2012 13:44:25 -0400
- Subject: Re: Update MIPS for syscall-list changes
- References: <Pine.LNX.4.64.1205301558560.32198@digraph.polyomino.org.uk>
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 <cmetcalf@tilera.com>
Date: Wed May 30 13:14:50 2012 -0400
tile: update libm-test-ulps
commit c64bb3c94786f41f0c5efff4cbe55a65357afffc
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Wed May 30 13:14:28 2012 -0400
tile: support biarch tilegx with a new tilegx Makefile
commit a7ccf2071734f6cd01c228b04947647faf43d3f6
Author: Chris Metcalf <cmetcalf@tilera.com>
Date: Wed May 30 12:22:59 2012 -0400
tile: Use hidden_def for pthread_once
commit 3b3b9920c96cc004b132658546bdb84761415777
Author: Chris Metcalf <cmetcalf@tilera.com>
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