From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26301 invoked by alias); 10 Apr 2007 20:46:39 -0000 Received: (qmail 26293 invoked by uid 22791); 10 Apr 2007 20:46:39 -0000 X-Spam-Check-By: sourceware.org Received: from return.false.org (HELO return.false.org) (66.207.162.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Apr 2007 21:46:34 +0100 Received: from return.false.org (localhost [127.0.0.1]) by return.false.org (Postfix) with ESMTP id F01EA4B267; Tue, 10 Apr 2007 15:46:32 -0500 (CDT) Received: from caradoc.them.org (dsl093-172-095.pit1.dsl.speakeasy.net [66.93.172.95]) by return.false.org (Postfix) with ESMTP id DD2EE4B262; Tue, 10 Apr 2007 15:46:30 -0500 (CDT) Received: from drow by caradoc.them.org with local (Exim 4.63) (envelope-from ) id 1HbNET-00017Q-TC; Tue, 10 Apr 2007 16:46:29 -0400 Date: Tue, 10 Apr 2007 20:46:00 -0000 From: Daniel Jacobowitz To: Andreas Schwab Cc: gdb-patches@sourceware.org Subject: Re: Fix altivec vector return location Message-ID: <20070410204629.GC2056@caradoc.them.org> Mail-Followup-To: Andreas Schwab , gdb-patches@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.15 (2007-04-09) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-04/txt/msg00109.txt.bz2 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 > > * ppc-linux-tdep.c (ppc_linux_return_value): Vectors are returned > in general registers. Hmmm... but what about people who do use -mabi=altivec? IIRC you can do that by configuring for powerpc-linux-gnualtivec. I know some distributors patch GCC to do this too for their distributions. -- Daniel Jacobowitz CodeSourcery