Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <drow@false.org>
To: gdb-patches@sourceware.org
Subject: Re: Fix altivec vector return location
Date: Tue, 10 Apr 2007 22:34:00 -0000	[thread overview]
Message-ID: <20070410223450.GA9636@caradoc.them.org> (raw)
In-Reply-To: <jeabxfj2cc.fsf@sykes.suse.de>

On Wed, Apr 11, 2007 at 12:23:31AM +0200, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@false.org> writes:
> 
> > On Thu, Mar 15, 2007 at 06:17:51PM +0100, Andreas Schwab wrote:
> >> powerpc-linux is not using -mabi=altivec by default, thus vector types are
> >> returned in general registers instead of altivec registers.
> >> 
> >> Andreas.
> >> 
> >> 2007-03-15  Andreas Schwab  <schwab@suse.de>
> >> 
> >> 	* ppc-linux-tdep.c (ppc_linux_return_value): Vectors are returned
> >> 	in general registers.
> >
> > Hmmm... but what about people who do use -mabi=altivec?
> 
> I have no idea how to detect that.

I think it's a bad idea to trade off broken in one configuration for
broken in another, so let's not change it right now.

The only way I can think of to detect it would be to add something to
the linker, like other platforms do (including E500).  I wonder if the
new Power ABI discussions will provide something useful...

-- 
Daniel Jacobowitz
CodeSourcery


      reply	other threads:[~2007-04-10 22:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-15 17:18 Andreas Schwab
2007-04-10 20:46 ` Daniel Jacobowitz
2007-04-10 22:23   ` Andreas Schwab
2007-04-10 22:34     ` Daniel Jacobowitz [this message]

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=20070410223450.GA9636@caradoc.them.org \
    --to=drow@false.org \
    --cc=gdb-patches@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