From: "Joseph S. Myers" <joseph@codesourcery.com>
To: Chris Metcalf <cmetcalf@tilera.com>
Cc: libc-ports@sourceware.org
Subject: Re: Update MIPS for syscall-list changes
Date: Wed, 30 May 2012 18:46:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.64.1205301845280.8161@digraph.polyomino.org.uk> (raw)
In-Reply-To: <4FC65C79.7080604@tilera.com>
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
next prev parent reply other threads:[~2012-05-30 18:46 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
2012-05-30 18:46 ` Joseph S. Myers [this message]
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=Pine.LNX.4.64.1205301845280.8161@digraph.polyomino.org.uk \
--to=joseph@codesourcery.com \
--cc=cmetcalf@tilera.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).