From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4915 invoked by alias); 18 Apr 2005 12:46:25 -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 4687 invoked from network); 18 Apr 2005 12:46:09 -0000 Received: from unknown (HELO pollux.ds.pg.gda.pl) (153.19.208.7) by sourceware.org with SMTP; 18 Apr 2005 12:46:09 -0000 Received: from localhost (localhost [127.0.0.1]) by pollux.ds.pg.gda.pl (Postfix) with ESMTP id 4E08CE1C7B; Mon, 18 Apr 2005 14:46:05 +0200 (CEST) Received: from pollux.ds.pg.gda.pl ([127.0.0.1]) by localhost (pollux [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 27557-05; Mon, 18 Apr 2005 14:46:05 +0200 (CEST) Received: from piorun.ds.pg.gda.pl (piorun.ds.pg.gda.pl [153.19.208.8]) by pollux.ds.pg.gda.pl (Postfix) with ESMTP id 06636E1C6E; Mon, 18 Apr 2005 14:46:05 +0200 (CEST) Received: from blysk.ds.pg.gda.pl (macro@blysk.ds.pg.gda.pl [153.19.208.6]) by piorun.ds.pg.gda.pl (8.13.1/8.13.1) with ESMTP id j3ICk3vF004141; Mon, 18 Apr 2005 14:46:03 +0200 Date: Mon, 18 Apr 2005 12:46:00 -0000 From: "Maciej W. Rozycki" To: Eric Christopher Cc: Thiemo Seufer , newlib@sources.redhat.com, binutils@sources.redhat.com, cgd@broadcom.com Subject: Re: [patch] adjust libgloss addresses for 64-bit In-Reply-To: <1113584821.4591.73.camel@localhost.localdomain> Message-ID: References: <1113516346.4591.39.camel@localhost.localdomain> <20050414223754.GI32470@hattusa.textio> <1113583817.4591.68.camel@localhost.localdomain> <1113584821.4591.73.camel@localhost.localdomain> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Status: Clean X-SW-Source: 2005-04/txt/msg00475.txt.bz2 On Fri, 15 Apr 2005, Eric Christopher wrote: > (personally I think if we want to load a constant into a register using > a macro we should use li, not la). Absolutely. Sometimes it may be hard to fulfil, though, e.g. the address supplied may be a result of macro expansion at the preprocessing stage and depending on some options it may expand either to a constant or to something else, e.g. a symbol. Making the instruction a part of the expansion may be difficult or at least obscure. And a constant is a valid address after all. ;-) Maciej