All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: binutils@sourceware.org, linux-mips@linux-mips.org,
	David Kuehling <dvdkhlng@gmx.de>
Subject: $ta0 .. $ta3 registers in O32 on MIPS
Date: Wed, 28 Sep 2011 14:33:05 +0200	[thread overview]
Message-ID: <20110928123305.GA1971@linux-mips.org> (raw)

The register names $ta0 .. $ta3 were added by SGI for N32 / N64 code.
Because these reference $8 .. $11 just like $t0 .. $t3 in the O32 ABI
their availability in O32 as well appears dangerous, if not a bug:

$ cat s.s 
	addu	$ta0, $ta0
$ mips-linux-as -o s.o s.s
$ file s.o
s.o: ELF 32-bit MSB relocatable, MIPS, MIPS-I version 1 (SYSV), not stripped
$

I was expecting an error message and I'm wondering, was this intentional?

  Ralf

             reply	other threads:[~2011-09-28 12:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-28 12:33 Ralf Baechle [this message]
2011-09-28 15:11 ` $ta0 .. $ta3 registers in O32 on MIPS Paul_Koning
2011-09-28 15:11   ` Paul_Koning
2011-09-28 19:43   ` Ralf Baechle

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=20110928123305.GA1971@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=binutils@sourceware.org \
    --cc=dvdkhlng@gmx.de \
    --cc=linux-mips@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.