public inbox for libc-ports@sourceware.org
 help / color / mirror / Atom feed
From: Chris Metcalf <cmetcalf@tilera.com>
To: "Joseph S. Myers" <joseph@codesourcery.com>
Cc: <libc-ports@sourceware.org>
Subject: Re: Update MIPS for syscall-list changes
Date: Wed, 30 May 2012 17:44:00 -0000	[thread overview]
Message-ID: <4FC65C79.7080604@tilera.com> (raw)
In-Reply-To: <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

  reply	other threads:[~2012-05-30 17:44 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30 16:03 Joseph S. Myers
2012-05-30 17:44 ` Chris Metcalf [this message]
2012-05-30 18:46   ` Joseph S. Myers
2012-05-30 19:54     ` Chris Metcalf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FC65C79.7080604@tilera.com \
    --to=cmetcalf@tilera.com \
    --cc=joseph@codesourcery.com \
    --cc=libc-ports@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).