From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7472 invoked by alias); 10 Apr 2007 22:23:38 -0000 Received: (qmail 7463 invoked by uid 22791); 10 Apr 2007 22:23:37 -0000 X-Spam-Check-By: sourceware.org Received: from ns2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 10 Apr 2007 23:23:35 +0100 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id C084021952 for ; Wed, 11 Apr 2007 00:23:32 +0200 (CEST) From: Andreas Schwab To: gdb-patches@sourceware.org Subject: Re: Fix altivec vector return location References: <20070410204629.GC2056@caradoc.them.org> X-Yow: "THE LITTLE PINK FLESH SISTERS," I saw them at th' FLUORESCENT BULB MAKERS CONVENTION... Date: Tue, 10 Apr 2007 22:23:00 -0000 In-Reply-To: <20070410204629.GC2056@caradoc.them.org> (Daniel Jacobowitz's message of "Tue, 10 Apr 2007 16:46:29 -0400") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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/msg00120.txt.bz2 Daniel Jacobowitz 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 >> >> * 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. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."