From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25130 invoked by alias); 4 Oct 2006 19:14:35 -0000 Received: (qmail 25119 invoked by uid 22791); 4 Oct 2006 19:14:35 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Wed, 04 Oct 2006 19:14:32 +0000 Received: from drow by nevyn.them.org with local (Exim 4.54) id 1GVCCM-00015z-EE; Wed, 04 Oct 2006 15:14:30 -0400 Date: Wed, 04 Oct 2006 19:14:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sourceware.org Cc: pgilliam@us.ibm.com, janani@us.ibm.com Subject: Re: [patch] Pushing Inferior Function Arguments onto Stack on PowerPC64 machines Message-ID: <20061004191430.GA4179@nevyn.them.org> Mail-Followup-To: gdb-patches@sourceware.org, pgilliam@us.ibm.com, janani@us.ibm.com References: <20061004150034.1xgq6l4picg0wgk4@imap.linux.ibm.com> <20061004191056.GA4000@nevyn.them.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061004191056.GA4000@nevyn.them.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-10/txt/msg00015.txt.bz2 On Wed, Oct 04, 2006 at 03:10:56PM -0400, Daniel Jacobowitz wrote: > On Wed, Oct 04, 2006 at 03:00:34PM -0400, janani@linux.ibm.com wrote: > > I am new to this, so my interpretation might not be completely > > accurate, but the way I read the note below ( a snippet from the GNU > > GCC Manual about passing function arguments in registers) is that > > since PPC64 is big endian, even though the default is to pad downward > > (i.e. right align), if the size if greater than the size of an int, > > you need to pad upward (left align). > > You're trying to answer the wrong question :-) By the way, your From address (janani@linux.ibm.com) is not valid; could you fix that? -- Daniel Jacobowitz CodeSourcery