From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19652 invoked by alias); 20 Sep 2005 21:34:01 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 19528 invoked by uid 22791); 20 Sep 2005 21:33:22 -0000 Received: from az33egw02.freescale.net (HELO az33egw02.freescale.net) (192.88.158.103) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Tue, 20 Sep 2005 21:33:22 +0000 Received: from az33smr02.freescale.net (az33smr02.freescale.net [10.64.34.200]) by az33egw02.freescale.net (8.12.11/az33egw02) with ESMTP id j8KLfB1E005689; Tue, 20 Sep 2005 14:41:11 -0700 (MST) Received: from [10.82.17.247] ([10.82.17.247]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id j8KLd95m007782; Tue, 20 Sep 2005 16:39:09 -0500 (CDT) In-Reply-To: References: <930FB6D0-944A-486B-A060-C63D4FC7E141@freescale.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: Cc: "Alan Modra" , Content-Transfer-Encoding: quoted-printable From: Kumar Gala Subject: Re: common assembly code between ppc32 & ppc64 Date: Tue, 20 Sep 2005 22:57:00 -0000 To: Andreas Schwab X-SW-Source: 2005-09/txt/msg00243.txt.bz2 Andreas, Can you explain further what this gets me ? I kinda get the align_p macro portion, but I'm not sure I understand=20=20 the 'pointer' and \val stuff. thanks - kumar On Sep 20, 2005, at 4:26 PM, Andreas Schwab wrote: > Kumar Gala writes: > > >> Is there any magic to handle ".llong" vs ".long" that we could >> possibly use to reduce the duplication between these two code=20=20 >> fragments. >> > > #ifndef __powerpc64__ > .macro pointer val > .long \val > .endm > .macro align_p > .align 2 > .endm > #else > .macro pointer val > .llong \val > .endm > .macro align_p > .align 3 > .endm > #endif > > Andreas. > > --=20 > Andreas Schwab, SuSE Labs, schwab@suse.de > SuSE Linux Products GmbH, Maxfeldstra=DFe 5, 90409 N=FCrnberg, Germany > Key fingerprint =3D 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 > "And now for something completely different." >